BP Interface vs Custom Events

Using the variable you don’t need to do the casting every time so that’s one way to optimize. The variable does not occupy much because it only contains the reference, not the object itself.
Although the casting is not very newsworthy it is always better to save it if you use it a lot.
To use it a couple of times, it is not necessary to save it in a variable either.

2 Likes