Topic was automatically imported from the old Question2Answer platform.
Asked By
Wurzelpilz
How does that work in Godot? I cannot find a getComponent like Unity has…so, if a body is entering my area2d, the variable crosshair(variable from the colliding body) should be made visible.
This does not work however: