# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/sample-tutorial-03-flexible-gameplay-in-fortnite
# Local doc: epic-docs/documentation/en-us/fortnite/sample-tutorial-03-flexible-gameplay-in-fortnite.md
# Section: When a cow is inside the abduction area, stop the ship moving and start the abduction beam.
# Perform the sweep from the UFO Mesh
if (Child := Entity.GetEntities()[0]):
DisplacementVector := vector3{Left:=0.0, Up:=-300.0, Forward:=0.0}
Verse Library
verse
21 When A Cow Is Inside The Abduction Area Stop The S
Performs a 3D sweep from an entity to detect collidable objects along a displacement vector.
extracted-snippets/documentation/en-us/fortnite/sample-tutorial-03-flexible-gameplay-in-fortnite/21-when-a-cow-is-inside-the-abduction-area-stop-the-s.verse