Function "is_action_just_pressed()" not found in base self

Godot Version

4.5

Question

The error appeared after adding ‘player > 0 and’

if player > 0 and is_action_just_pressed("jump") and is_on_floor():

Try Input.is_action_just_pressed(“jump”)