This command will return an integer value of one if the default joystick is pushed right, otherwise zero is return.

Syntax: 
Return Integer=JOYSTICK RIGHT()