How to extract x and y of raycasted object?

I need help extracting the x and y of the raycasted object, the only problem is I can choose the type but there are too many objects

1 Like

whats this for? (20 characters)

You can just do raycast, message (send to last raycast target)

Then in the object being raycasted, when it recieces the message, extract x,y, and message(reply to last message)

1 Like

this is amazing man thank you

1 Like

Like this:

1 Like