Syntax:
lock {actor}
Keyword handler:
linguist.graphics.keyword.GKLock.class
Runtime handler(s):
linguist.graphics.handler.GHLock.class
Function:
Lock the specified actor. This causes it to report mouse movement events even if the cursor is no longer inside the actor. No cursor-out event will be posted until the actor is unlocked.
Locking an actor prevents any actor below it in the Z-order from reporting events, but actors above it will continue to act normally.
Example(s):
lock Button