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:
body.get_script().crosshair.visible = true
variable I try to access is
export (NodePath) var crosshair