The enable method¶
| Syntax: | enable() |
|---|---|
| Returns: | nil |
This method is used to allow the player to interact with a ClickableMap object.
If the nonBlocking property is set to false, the execution of
the script will be paused until the clickable map is disabled.
Examples¶
-- Create a clickable map
map = ClickableMap.new("drawers_map.png")
...
-- Enable the clickable map
map:enable()