# Why is this NotifyState variable read only?

**URL:** <https://forums.unrealengine.com/t/why-is-this-notifystate-variable-read-only/2685480>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [December 16, 2025, 3:58pm UTC](https://forums.unrealengine.com/t/why-is-this-notifystate-variable-read-only/2685480 "2025-12-16T15:58:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![papa335678](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@papa335678](https://forums.unrealengine.com/u/papa335678)\
**Post date:** [December 16, 2025, 3:58pm UTC](https://forums.unrealengine.com/t/why-is-this-notifystate-variable-read-only/2685480/1 "2025-12-16T15:58:36Z")

</div>

Received notify begin, this works fine in standard anim notifies.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/a/c/3ac410f01b2fc1eb81cebd33a491469d2dc9f1a9.png)

Then this on compile???

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/4/9f4feb1cadcb53f883013a099688ec07e4801ecf.png)

Are object variables just not allowed in notify states? If so, why let me make one lol. Am I doing something wrong?

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [December 16, 2025, 4:28pm UTC](https://forums.unrealengine.com/t/why-is-this-notifystate-variable-read-only/2685480/2 "2025-12-16T16:28:32Z")

</div>

i havent check but its probably Const, still a local variable is likely ok

---

<div class="post-metadata">

**Author:** ![papa335678](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@papa335678](https://forums.unrealengine.com/u/papa335678)\
**Post date:** [December 16, 2025, 4:37pm UTC](https://forums.unrealengine.com/t/why-is-this-notifystate-variable-read-only/2685480/3 "2025-12-16T16:37:54Z")

</div>

The cast is so I can do stuff on tick without having to cast every time. A local variable would be contained in the notify begin function and not be usable in the notify tick function right?

---

<div class="post-metadata">

**Author:** ![papa335678](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@papa335678](https://forums.unrealengine.com/u/papa335678)\
**Post date:** [December 23, 2025, 3:41pm UTC](https://forums.unrealengine.com/t/why-is-this-notifystate-variable-read-only/2685480/4 "2025-12-23T15:41:30Z")

</div>

Notify States don’t allow setting variables it seems, I implemented the logic elsewhere and avoided the issue all together.
