TruWorlds

ClickDetector

Inherits: Instance

ClickDetector allows player mouse interactions with a parent PhysicsInstance.

Properties

MaxActivationDistance int

How far away the player can be from the ClickDetector to click it.

Signals

MouseClick

Event fired when the ClickDetector is left-clicked.

MouseHoverEnter

Event fired when the mouse begins hovering the ClickDetector.

MouseHoverLeave

Event fired when the mouse stops hovering the ClickDetector.

RightMouseClick

Event fired when the ClickDetector is right-clicked.