# How to hide things within the stats menu

**URL:** <https://forum.choiceofgames.com/t/how-to-hide-things-within-the-stats-menu/42157>\
**Category:** ChoiceScript Help\
**Created:** [August 8, 2018, 3:23am UTC](https://forum.choiceofgames.com/t/how-to-hide-things-within-the-stats-menu/42157 "2018-08-08T03:23:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ozymandias](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/ozymandias/32/58838_2.png) [@Ozymandias](https://forum.choiceofgames.com/u/Ozymandias)\
**Post date:** [August 8, 2018, 3:23am UTC](https://forum.choiceofgames.com/t/how-to-hide-things-within-the-stats-menu/42157/1 "2018-08-08T03:23:39Z")

</div>

As the title says, is there a way to hide/add text to the stats screen as the game progresses? I’ve got a portfolio type system in mind, and a portfolio doesn’t make much sense if it has things in them before you’ve actually done them

---

<div class="post-metadata">

**Author:** ![MeltingPenguins](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/meltingpenguins/32/255855_2.png) [@MeltingPenguins](https://forum.choiceofgames.com/u/MeltingPenguins)\
**Post date:** [August 8, 2018, 3:28am UTC](https://forum.choiceofgames.com/t/how-to-hide-things-within-the-stats-menu/42157/2 "2018-08-08T03:28:12Z")

</div>

```
*if thing1
   Text a
*if thing2
   Text b
Etc

```

That way the text will appear once the respective variables are set to true

---

<div class="post-metadata">

**Author:** ![JMH](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jmh/32/106164_2.png) [@JMH](https://forum.choiceofgames.com/u/JMH)\
**Post date:** [August 8, 2018, 3:28am UTC](https://forum.choiceofgames.com/t/how-to-hide-things-within-the-stats-menu/42157/3 "2018-08-08T03:28:16Z")

</div>

I’ve just been using \*if statements.

Lets say you don’t want a character’s relationship bar appearing in till the player has met them, on startup I’d do something like \*create metjim false, and then on the stats page put jim’s relationship bar under an \*if metjim.

When they actually meet jim in the story, then on the page they met jim i’d have \*set metjim true, and bam, the bar would appear on the stats page.

I can make choicescript do what I want it to do, but my code is super bulky and extremely crude and there are probably better ways of doing it.

EDIT: Or you know, @MeltingPenguins could swoop in right before me and explain it much more elegantly…

---

<div class="post-metadata">

**Author:** ![MeltingPenguins](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/meltingpenguins/32/255855_2.png) [@MeltingPenguins](https://forum.choiceofgames.com/u/MeltingPenguins)\
**Post date:** [August 8, 2018, 3:31am UTC](https://forum.choiceofgames.com/t/how-to-hide-things-within-the-stats-menu/42157/4 "2018-08-08T03:31:56Z")

</div>

> [@JMH](#):
>
> EDIT: Or you know, @MeltingPenguins could swoop in right before me and explain it much more elegantly…

^^; sorry.  
Your explanations more elaborate

---

<div class="post-metadata">

**Author:** ![Ozymandias](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/ozymandias/32/58838_2.png) [@Ozymandias](https://forum.choiceofgames.com/u/Ozymandias)\
**Post date:** [August 8, 2018, 3:46am UTC](https://forum.choiceofgames.com/t/how-to-hide-things-within-the-stats-menu/42157/5 "2018-08-08T03:46:20Z")

</div>

I can’t solution both of you, but thank you both!
