Category: Input
Syntax:
inpLeftTriggerDown:Int(controller:Int)
Int
Checks if the left trigger is pressed beyond the threshold.
Takes controller (Int).
Returns 1 if pressed beyond threshold (approximately 25-30%), or 0 if not.
View detailed documentation online
Include "BBR_INCLUDE.bam"
Local controller:Int = inpCreateController(0)
Forever
inpUpdateController(controller)
If inpLeftTriggerDown(controller)
Print "Left trigger is pressed!"
End If
If inpIsKeyHit(VK_ESCAPE) Then Exit
Forever
inpFreeController(controller)
BambooBasic © 2026 Michael Denathorn