All Questions


Yok-Him Devn

How to stop the frame when the player touch the portal

Hi Nathan,

I noticed when you touched the portal the frame stopped. How did you do it? Thanks!

  • Nathan Lovato replied

    You can use the pause system in Godot to do so. The code looks like:

    get_tree().paused = false

    Note that this will stop every node by default, including your portal. You can make it so some nodes are not paused by selecting them and in the Inspector, setting their Pause Process property to process.

  • D
    Yok-Him Devn replied

    Thank you! I'll look into it!