Area2D Not working

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Zync

Hi. ive installed Godot about 1 week ago.
i added a Area2D into my game but it only appears as a dot
i also added a collisionshape2d but it doesnt help.
(Dont worry about the script ive added to the Area2D. it still doesnt work without the script.)

Here is a screenshot.
http://i65.tinypic.com/2hr0pz7.jpg

Pic seems normal to me.

Dlean Jeans | 2019-06-07 17:11

What do you mean by “not working?” What are you trying to do? The area looks fine to me.

kidscancode | 2019-06-07 18:42

Is your problem connecting the signal in the node tab?

Magso | 2019-06-07 21:33

When others place the Area2D into their game it is a rektangle
But it is only a dot on my screen

Zync | 2019-06-08 06:59

The rectangle is the CollisionShape2D, the Area2D is still just a dot.

Dlean Jeans | 2019-06-08 07:03

:bust_in_silhouette: Reply From: Zync

When others place the Area2D into their game it is a rektangle
But it is only a dot on my screen

By itself an Area2D doesn’t yet have a shape. You have to add a collision shape to define the area’s region.

Add a CollisionShape2D child, as the yellow warning triangle tells you.

kidscancode | 2019-06-08 07:04

But ive also added a script that should go to the next level but it doesnt work? And i did excactly what the guy in the Youtube video did

Zync | 2019-06-08 09:57