Methods
-
create_point(value_x, value_y)
-
Creates and returns a new point with the given values.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description value_xNumber the x value of the new point
value_yNumber the y value of the new point
Code Equivalent:
new Phaser.Point(value_x, value_y) -
get_object_width()
-
Returns the object's width
Check out the third party documentation for a more in depth explanation.Code Equivalent:
variable_name.width -
input_handler_pointer_over(object)
-
Returns true/false if the pointer is over the object.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description objectobject to check
Code Equivalent:
object.input.pointerOver() -
refresh_pixels()
-
Refreshes the pixel pins.
Check out the third party documentation for a more in depth explanation.Code Equivalent:
RefreshPixels(); -
set_object_width(variable_name, value_name)
-
Set's the given object's width to the chosen amount.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description variable_namethe object to set the width of
value_nameNumber the value to set the width to
Code Equivalent:
de;