Methods
-
device_button_get_boolean_field(object, field)
-
Returns the chosen boolean field value of the chosen button on the pointer.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description object
button to get the values from
field
the value to get
Code Equivalent:
undefined
-
device_button_get_numeric_field(object, field)
-
Returns the chosen numeric field value of the chosen button on the pointer.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description object
button to get the values from
field
the value to get
Code Equivalent:
undefined
-
device_button_just_pressed(object)
-
Returns true/false if the chosen button on the pointer was pressed within the last 250 milliseconds.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description object
button to check
Code Equivalent:
object.justPressed()
-
device_button_just_pressed_complex(object, duration)
-
Returns true/false if the chosen button on the pointer was pressed within the given amount of time.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description object
button to check
duration
Number the duration to check
Code Equivalent:
object.justPressed(duration)
-
device_button_just_released(object)
-
Returns true/false if the chosen button on the pointer was released within the last 250 milliseconds.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description object
button to check
Code Equivalent:
object.justReleased()
-
device_button_just_released_complex(object, duration)
-
Returns true/false if the chosen button on the pointer was released within the given amount of time.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description object
button to check
duration
Number the duration to check
Code Equivalent:
object.justReleased(duration)