Messaging to Proximity trigger

If proximity finds an object is there anyway I can send a message to that specific object? I’m currently using send to last raycast target and using a raycast but that only works on a small scale so I’m trying to figure out how to solve the root of the problem.

Sadly this isn’t a setting, but it probably should be.

The best solution rn would probably be to find the object with proximity, then find the angle to the object with the Point At behavior (or whatever else you want to use)

Then send a Ray in that direction and use the Message option Send to Last Ray Casted


Plus you can calculate the distance with Pythag,
Math.sqrt((x one - x two)^2 + (y one - y two)^2 )

Then you also know how far to cast