Chapter 07 Collision & World Queries
#069 Ignore Actors in Traces
Your aim trace keeps hitting your own rifle? Tell it what to ignore.
- 1:11 video
- Written lesson
- Beginner
Free for everyone from 19 Nov 2026, 00:00 CET
Skip what you choose
Ignore Self skips your character, but the attached rifle is a separate actor.
Every trace node has an Actors to Ignore input. It takes an array of actors.
- Each actor in that array is skipped completely, with every one of its components.
- Drag off that pin, add Make Array, and plug in each actor.
- Ignore Self only covers the actor running this Blueprint. Attached actors are not included.
- The list only affects this single query, nothing else in your level.
Example: aiming past your rifle
A player holds a rifle and aims at an enemy. The trace starts at the camera, and the rifle blocks it first: Out Hit is your own rifle.
Plug the Rifle reference into Make Array, then into Actors to Ignore. Now the trace passes through the rifle, and hits the enemy. Out Hit reports the enemy, and Return Value is true.
For teammates, Get All Actors with Tag can fill that same array.
Tips
- Skipping a whole category, like every pickup? Use a collision channel instead.
- If the list rarely changes, build it once at Begin Play, and store it in a variable.
In short
Ignore Self skips you. Actors to Ignore skips anything else you choose.
Covered in this lesson
- Actors to Ignore
- Make Array
- Ignore Self
- Get All Actors with Tag