unreal.ActorHasTagFilter

class unreal.ActorHasTagFilter(outer: Object | None = None, name: Name | str = 'None')

Bases: ActorSelectorFilter

Allows an actor if it has all or any of the specified tags.

C++ Source:

  • Plugin: LevelSnapshots

  • Module: LevelSnapshotFilters

  • File: ActorHasTagFilter.h

Editor Properties: (see get_editor_property/set_editor_property)

  • actor_to_check (ActorToCheck): [Read-Write] Which of the actors we should check the tags on.

  • allowed_tags (Set[Name]): [Read-Write] The tags to check the actor for.

  • default_result (FilterResult): [Read-Write] What to return for IsPropertyValid, IsDeletedActorValid, and IsAddedActorValid

  • tag_checking_behavior (TagCheckingBehavior): [Read-Write] How to match AllowedTags in each actor.