Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_joystick_upos

(view raw script w/o annotations or w/e)
1
function joystick_upos(argument0) //gml_Script_joystick_upos
2
{
3
    var jid = __joystick_2_gamepad(argument0)
4
    return gamepad_axis_value(jid, 4);
5
}