0 votes

Hello

I want to use the input_event method from CollisionObject2D. I created a RigidBody2D as my root scene. I set the pickable attribute to true and connect the event with my script.

But it still doesn't work. that means the input_event didn't get called

I have created the scene in a folder.

I created a new Project and copied the scene from the other Project. In the new Project the input_event method works as expected.

But why? I ran the single scene in both Projects. But still in my main Project it doesn't work.

I am a bit desperate.
What can be the reason for this?

in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.