Black Ops III

GetVRControllerXButton

returns true if the grip button is pressed

Example:

holding = self GetVRControllerXButton( 0 ) ...

Parameters

ParameterSummary
*localClientNumClient number of the controller you want
*handIdx0 for dominant hand, 1 for secondary hand. Secondary hand is not guaranteed to exist

* = mandatory