_OBJECT keyword
Represents the object that called a SUB from events ON CLICK, ON PRESS, ON RELEASE, ON DRAG, ON OVER and ON COLLIDE.
Syntax
_OBJECT
Example
SUB myFunction
IF _OBJECT = img1 THEN
'do something
END IF
END SUB
ON CLICK img1, myFunction
Go back to list of Keywords.