Godot Version
4
Question
i am trying to make a super basic wall running program, it works without pressing any buttons and i take out the if “input.is_action_just_pressed” but i want it to only work when holding w and the space bar
if not is_on_floor():
if is_on_wall():
if Input.is_action_just_pressed("Space") and Input.is_action_just_pressed("Forward"):
velocity.y = jump_gravity * delta
if Input.is_action_just_pressed("Space") and is_on_floor():
velocity.y = jump_velocity