inpControllerButtonHit

Category: Input

Syntax:

inpControllerButtonHit:Int(controller:Int, button:Int)


Parameters

Returns

Int



Summary

Checks if controller button just pressed this frame (single press detection).

Takes controller (controller handle from inpCreateController, positive integer), button (button ID constant, integer).

Returns 1 if button just pressed this frame, 0 otherwise.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn