Not able to check if player is in group?

Hello! So I am not sure what I am supposed to do, as I have followed multiple videos but nothing seems to be working.

  1. I created a Area2D for my Player and a CollisionShape2D inside it.

  2. I created a TileMapLayer consisting of a cloud tileset (normal boring white clouds).

  3. I painted all the tiles with collision through Physics Layer 0.

  4. I went to the “Node” category on the Cloud TileMapLayer, created a Group called “Clouds” and made it global.

  5. I ticked the box inside Cloud TileMapLayer AND Area2D.

  6. I connected the node on_area_entered, and wrote this

func _on_area_2d_body_entered(body):
    if body.is_in_group("Clouds"):`
         print("Player in clouds")`

Cloud TileMapLayer has no collision layers checked, but collision mask is on 1 (Player collision mask is also on 1)

Nothing is printed. I am unsure of where to go as most videos are “outdated” on this topic and the ones that I follow work, but for me they dont.

You wrote that you connected to area_entered which will only detect areas, your tilemap layer is not an Area2D. Though your function name suggests it’s connected to body_enetered which would be okay.

Your tilemap has no collision layers so it cannot be detected by other Area2Ds.