Class: VrController
Lua
C++
Edit

VrController:ButtonDown

This method gets the current button pressed state of the controller.

Syntax

Parameter Description
button can be any of the values in the list below, or any number from 1 to 64

Generic Buttons

Valve Index Controller Buttons

HTC Vive controller

Returns

Returns true if the specified button is pressed, otherwise false is returned.

Copyright © 2006-2025 Ultra Software.
All rights reserved.
Leadwerks 4 Documentation