My code doesnt work. Pls hlp

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

func damage():
if ground_check.is_colliding():
var idk = ground_check.get_collider()
if idk.is_in_group(“body”):
health.current -= 20

Pls hlp im struggling for almost 3 days

Which “node” is this? = groundcheck

ramazan | 2022-01-25 07:44

We need more to go on. Are you getting an error message? If so, what is it? If not, what is the undesired behaviour/lack of desired behaviour?

DaddyMonster | 2022-01-25 15:18