RayCast2D target_position global coordinates

Godot Version

4.3

Question

Hello, please tell me how to get global target position of raycast2d.

your_raycast_node.to_global(your_raycast_node.target_position)

2 Likes

Thanks!