Skip to content

Check Circle

Physics ยป Check Circle


Returns true if casting a circle at a position doesn't collide with anything


Name Description
Position The scene position where the circle's center is cast. Z axis is ignored
Radius The radius of the circle in Unity units
Layer Mask A bitmask that skips any objects that don't belong to the list

Example 1

Note that this Instruction uses Unity's 2D physics engine. It won't collide with any 3D objects


Check Collide Touch Suit Sphere Circumference Round 2D