Error message creating teleporter with post fx.

Hi, I’m a 3d artist but struggling with blueprints. In short ive created a teleporter blueprint that works by using rightclick + hold for 2 seconds to teleport. See working blueprints below.

The problem is i also want to have a post process effect take place only triggered at the same location the teleport is possible + using the same button as the teleport. so if the player clicks right mouse button both the teleport and the post process effect start happening, but if they let go the teleport doesn’t happen and the post process effect stops. if they keep hold successfully for the full duration the player teleports and the post fx stops.

I’ve managed to get it all working, however when i add the normalpp (normal post process not the post process with the fx) to the cancelled pin i get the following error msg even tho it all works. I’m learning as i go so forgive me if this looks very messy to anyone with blueprint knowledge.

i got it all working in game and no errors come up or even warnings.. i guessed as i went along but somehow it worked, is this blueprint messy or can i move onto the next stuff?

In the image attached initially, an error occurred because SetPostProcessSetting was executed even when CanTeleport was set to False.

However, since PostProcessSetting isn’t actually modified when CanTeleport is False, there was no real harm even though the setting couldn’t be applied.

Since the Cast node retains its value for a while after execution, it functioned normally when CanTeleport was set to True.

Judging from the newly attached image, there doesn’t seem to be any issue. If I had to suggest something, it might be better to use a variable instead of casting every time.