Hide overlay

Started by dangysdangysdangys on

Topic category: Help with MCreator software

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hide overlay

I'd like to know how to hide and show overlays in mcreator

I have made an overlay, but I do not know how to show/hide it. I see the condition thing saying 'display overlay in game', and when I open it there is block that shows or hide the overlay, so I cannot use an if statement to show or hide the overlay

Please help

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to use the "return…
Fri, 07/25/2025 - 16:02

You need to use the "return logic" block from flow control. Then you return true or false based if you want it to be visible or not (true to be visible or false not visible). Plus, to not have a lot of if statements to return true or false you can directly put the condition in the return block.