The nonBlocking property¶
By default, the enable method is a blocking function, which
means that the execution of the script is paused until the clickable map is
disabled. However, if nonBlocking is set to true, the execution of the script
will not be paused while the map is enabled.
Examples¶
-- Create a clickable map
map = ClickableMap.new("drawers_map.png")
-- Set nonBlocking to true
map.nonBlocking = true