SetHandlers Data Member Function

Sets the script source and function that will handle mouse input for the scripted draw mode.

Prototype

int32 SetHandlers( ScriptSource ScriptSource, string MouseHandlerFunction )

Parameters

Parameter Type Parameter Name Documentation
<ScriptSource>ScriptSourceThe script source object that contains the script. Typically this will be the global object 'Script', which represents the current script source object.
stringMouseHandlerFunctionThe script function to call with mouse input.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.