How to make a video not play again when you back to the scene

I’m trying to make it that when you come back to a scene, the video saw when you first in there won’t play again.

How do I do this?
Thank you.

When playing the video for the first time, set a global boolean variable to true. When you come back into the Scene, use a condition that checks if it’s true or false. Delete the video if true, or just start it if it’s false.


sorry but could you give me an example please? Thank you.

1 Like

Whenever I come back to the scene, it just shows the end of the video.

Here’s my code

Ya and what should it do?
Don’t play, we’ve reached.

Add this as the second line to delete the video.