I want to use _input() but I cant find the is_action_just_pressed equivelent

I’m currently using _physics_process, but want to switch to _input.
I just can’t find the JUST pressed event thing.

if Input.is_action_just_pressed("[whatever]"):

Please read my question again :pray:

1 Like

event.is_action_pressed("theAction")

1 Like

How would I make it so it only activates once, or vice versa?

It only activates once i believe

2 Likes

if you want to check input continuously you’d have to use _process(delta) or _physics_process(delta)
This might help: Input examples — Godot Engine (stable) documentation in English

1 Like

Please read my question :man_facepalming:
I can’t believe I had to say that twice.
Where did it say in my question I needed _process()?
I’m having a hard time believing you didn’t copy and paste my question into an AI
Also, this is solved…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.