ON OVER keyword

Executes a SUB on an over event. It is generated when the mouse cursor/touch input is moved over the object. As this event is called on every mouse move, there is a potential of causing a lot of CPU usage.

Syntax

ON OVER object, sub

Parameters

  • object: object (required)
  • sub: subroutine to execute (required)

Example

ON OVER myImage, myFunction

Go back to list of Keywords.