0 votes

I have a KinematicBody2D, that has a signal mouse entered (not writing the underscores because of this site's funky formatting). That should be called whenever the mouse enters the collision shape that is the KinematicBody2D's child, just like Area2D would do, but it does not. When I hover the mouse over the collision shape of the body, it does nothing. What am I doing wrong? If I didn't provide enough information, I apologise, please ask me for the info I should've told you.

Godot version 3.2.3
in Engine by (91 points)

1 Answer

+2 votes
Best answer

You need to set CollisionObject2D/pickable to true in editor or set input_pickable = true in code.

P.S. This site use Markdown as formatting processor, so _text_ means italic style. You have to wrap your code in `` to avoid formatting or use Code Sample button above text field to mark whole block as code.

by (1,650 points)
selected by

Thanks a lot!

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 Frequently asked questions and 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 [email protected] with your username.