+1 vote


I am currently making little game on mobile phones that is based on tapping on Areas2D. I have Area2D scene with signal _on_Area2D_input_event connected to check for clicks. When the game runs, it begins to spawn those Area2D scenes.

The problem appears when I click on two areas simultaneously. Only one of them is pressed and the other is ignored. I read that input event cannot be called simultaneously, but what am I supposed to do then?

I thought I would make process function to check if it is being tapped or even TouchScreenButtons, but such solutions are messy and I wonder if someone could help me find a better one?

Godot version Godot 3.3
in Engine by (13 points)
retagged by

Same issue. Had overlapping Area2D nodes on my kinematicBody2D character, but only one of them emits AreaEntered()/BodyEntered() signals at a time

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.