LuaBox
Loading...
Searching...
No Matches
AnyButtonDown.h File Reference
#include "lua_include.h"
#include "global.h"
#include "buttons.h"

Go to the source code of this file.

Functions

int AnyButtonDown (lua_State *L_)
 Check if any button is currently pressed.

Function Documentation

◆ AnyButtonDown()

int AnyButtonDown ( lua_State * L_)

Check if any button is currently pressed.

Parameters
L_Lua state.
Returns
int Pushes 1 boolean to Lua stack: true if any button (UP, DOWN, LEFT, RIGHT, SET, GET) is pressed, false otherwise.