# Guard Spawner Device Not Shooting When Using MaintainFocus

**URL:** <https://forums.unrealengine.com/t/guard-spawner-device-not-shooting-when-using-maintainfocus/2390299>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [March 14, 2025, 9:21pm UTC](https://forums.unrealengine.com/t/guard-spawner-device-not-shooting-when-using-maintainfocus/2390299 "2025-03-14T21:21:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soy\_Ema\_31](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Soy\_Ema\_31](https://forums.unrealengine.com/u/Soy_Ema_31)\
**Post date:** [March 14, 2025, 9:21pm UTC](https://forums.unrealengine.com/t/guard-spawner-device-not-shooting-when-using-maintainfocus/2390299/1 "2025-03-14T21:21:41Z")

</div>

I watched a tutorial where the guard only used `MaintainFocus`, and it would look at the player and shoot. But in my case, the guard only looks at me but does not shoot.

Simple Code:

```auto
GuardSpawner.AlertedEvent.Subscribe(OnAlerted)

    OnAlerted(Result:device_ai_interaction_result):void=
        if:
            Guard:=Result.Source?
            Target:=Result.Target?
            Character:=Guard.GetFortCharacter[]
            Focus:=Character.GetFocusInterface[]
        then:
            spawn{Focus.MaintainFocus(Target)}

```

---

<div class="post-metadata">

**Author:** ![Sellardore](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sellardore/32/924387_2.png) [@Sellardore](https://forums.unrealengine.com/u/Sellardore)\
**Post date:** [April 21, 2025, 11:50am UTC](https://forums.unrealengine.com/t/guard-spawner-device-not-shooting-when-using-maintainfocus/2390299/2 "2025-04-21T11:50:59Z")

</div>

Did you figure this out because I have the same issue?
