Class: VrController
Lua
C++
Edit

VrController:GetAxis

This method gets the current axis position of the controller.

Syntax

Parameter Description
axis axis to detect, can be VRAXIS_TRIGGER, VRAXIS_TOUCHPAD, VRAXIS_GRIP, or any number from 1 to 6

Returns

Returns the current position for the specified axis.

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