True if events will be raised when observer's mouse interacts with the Screen display. Read/write Boolean.
The default for this property is False.
If a simulation needs to detect mouse events such as CellOnClick, then it is good practice to set the MouseEvents property to True at the beginning of the simulation (OnSimBegin event) and then to set it to False at the end of the simulation (OnSimEnd event). If the MouseEvents property is not set to False, mouse events will continue to fire even after the simulation has terminated.
The following example enables mouse events.
World.Screen.MouseEvents = True