Binding of Isaac - Afterbirth+ Lua Reference/Guide

Functions
Input Namespace Reference

## Functions
boolean | IsButtonTriggered (integer button, integer controllerId)
boolean | IsButtonPressed (integer button, integer controllerId)
float | GetButtonValue (integer button, integer controllerId)
boolean | IsActionTriggered (integer action, integer controllerId)
boolean | IsActionPressed (integer action, integer controllerId)
float | GetActionValue (integer action, integer controllerId)
boolean | IsMouseBtnPressed (integer button)
Vector | GetMousePosition (boolean gameCoords)

## Function Documentation

## ◆ GetActionValue()

float Input::GetActionValue | ( | integer | action,
|  | integer | controllerId
| ) |  |

## ◆ GetButtonValue()

float Input::GetButtonValue | ( | integer | button,
|  | integer | controllerId
| ) |  |

## ◆ GetMousePosition()

Vector Input::GetMousePosition | ( | boolean | gameCoords | ) |

## ◆ IsActionPressed()

boolean Input::IsActionPressed | ( | integer | action,
|  | integer | controllerId
| ) |  |

## ◆ IsActionTriggered()

boolean Input::IsActionTriggered | ( | integer | action,
|  | integer | controllerId
| ) |  |

## ◆ IsButtonPressed()

boolean Input::IsButtonPressed | ( | integer | button,
|  | integer | controllerId
| ) |  |

## ◆ IsButtonTriggered()

boolean Input::IsButtonTriggered | ( | integer | button,
|  | integer | controllerId
| ) |  |

## ◆ IsMouseBtnPressed()

boolean Input::IsMouseBtnPressed | ( | integer | button | ) |