How do I check if two creative props are touching or if a specific prop is inside a box or area?

The check must be possible to perform at any time and must work in multiplayer, because this is for a placement system and its preview. The preview is player-specific, so the check needs to be done per player.

I want to check a specific creative prop that I define (the prop currently controlled or previewed by the agent/player). Based on its position, the system should determine whether the prop is touching another prop or is inside a specific area or box.

For example, there are two different floor areas: one with a brown floor and one with a yellow floor.
If the preview prop is on the brown floor, it should turn green; if it is on the yellow floor, it should turn blue.

I already have a script that moves the preview prop, and I want to perform this check during movement, but none of my previous attempts worked.

I think you can do your own checks based on position and radius (assuming spherical shapes). It’s a bit manual, but it should work.

Prop1Position := Prop1.GetTransform().Translation
Prop1Radius := 50.0
Prop2Position := Prop2.GetTransform().Translation
Prop2Radius := 100.0

if (Distance(Prop1Position, Prop2Position) <= (Prop1Radius + Prop2Radius)):
    # Handle collision