The enableMouseInput function

Syntax:enableMouseInput()
Returns:nil

After calling this function, buttons and clickable maps will accept mouse input. This means that the associated onMouseEnter, onMouseExit and onClick events will be triggered when the conditions are met.

Mouse input is enabled by default.

Remarks

Regardless of whether or not the mouse input is enabled, the player will be able to click to dismiss the text displayed on the text window.

Mouse input will be disabled automatically during scene transitions.

Examples

disableMouseInput()

say "Buttons and clickable maps will not accept mouse input."

enableMouseInput()