Black Ops III

GetVRControllerGripButton

returns true if the grip button is pressed

Example:

holding = self GetVRControllerGripButton( 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