how to make it so that when I go through the trigger the widget disappears

how to make it so that when I go through the trigger the widget disappears I’m playing a game and there is an error that causes the trigger to stay on the screen when the final screen is launched

Hey @olek1256767

could you give more details / screenshots?

Possible solutions (either…or):

  • Create an event that gets executed with the trigger to remove your widget
  • When creating the final screen widget use RemoveAllWidgets before CreateWidget

ok i try this solution if this isn’t working i give more screenshots

when I start the game, in the lower left corner there is a stamina widget and if I touch the trigger that launches the end screen, the widget does not disappear (level and end are on separate maps) I cannot send screenshots because I am a new user

Hey @olek1256767

so you touch the trigger and then you get to the final screen in the end level? It could be possible that this stamina widget is used inside the HUD class. If you click on WorldSettings can you see if there is a custom HUD class used?

1 Like

thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.