Scripting API ‐ Input - ipodtouch0218/NSMB-MarioVsLuigi GitHub Wiki

Input struct

Represents a given player's gamepad as separate Button inputs.

Members

Member Description Access
up D-Pad Up Read only
right D-Pad Right Read only
down D-Pad Down Read only
left D-Pad Left Read only
jump Jump button Read only
sprint Sprint button Read only
powerupAction Powerup action, such as shooting a projectile Read only
fireballPowerupAction Powerup action triggered by the sprint button being pressed, such as the Fire Flower Read only
propellerPowerupAction Powerup action triggered by jumping while airborne, such as the "Propeller Mushroom Double Jump" setting Read only