If you’re using a default trigger box there is a property in the details called “Collision Presets” using this you can choose how it interacts with other actors. If you want to customize it further, you can add more presets in the Project Settings under the Engine>Collision tab.
If you make a new actor blueprint with a trigger box, in the details tab they have settings under “Collision” that you can play around with.
Just make sure whatever actor you want the trigger box to (or not to) interact with also has it’s collision settings set up to work with your trigger box.