Model Clicked

Triggers every time the model is clicked. Depending on the config, it also triggers when you click anywhere in the VTS window even if the click wasn't on the model.

Variables

NameTypeDescription
Example Value:0

The number of ArtMeshes at the click position if the model was clicked

Example Value:0.276041656732559

The X position of the click in the usual coordinate system

Example Value:0.0166666675359011

The Y position of the click in the usual coordinate system

Example Value:True/False

Flag whether the model has been loaded or not.

Example Value:True/False

Flag whether the model has been clicked or not.

Example Value:0

The ID of the mouse button (0 is left-click, 1 is right-click and 2 is middle-click (mouse-wheel click))

Example Value:1920

current VTS X axis window size in pixels

Example Value:1080

current VTS Y axis window size in pixels

 
Variables generated by all triggers and available within all action executions.