On Mouse Click
Last updated
Last updated
On Mouse Click is an Event Listener Node used for executing a Logic Branch when an Object is clicked.
Scope: Scene, Prefab.
Object
ObjectID
The Object in which a click triggers the Logic Branch, if none is given in the Object ID
Input Socket.
Mouse Button
Drop-down
Whether the left, middle, or right button of the mouse will trigger the Logic.
Object ID
ObjectID
The Object in which a click triggers the Logic Branch.
Subscribe
(►)
Pulse
An Input Pulse that needs to be triggered to start listening to the Event.
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
IsLongClick
Bool
True when the button is pressed longer than usual.
Object ID
ObjectID
The Object received as Input.