Dota 2 Workshop Tools/Scripting/API/CBasePlayer.IsVRControllerButtonPressed
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
Function Description
bool IsVRControllerButtonPressed(int nButton)
Returns true if the controller button is pressed.
- Example
function CBasePlayer:IsVRControllerButtonPressed( nButton ) end
Parameters
| Type | Name | Description |
|---|---|---|
| int | nButton | No Description Set |
Returns
bool - No Description Set