# How to make trivia choices

**URL:** <https://forum.makecode.com/t/how-to-make-trivia-choices/11386>\
**Category:** Help\
**Created:** [December 17, 2021, 4:18pm UTC](https://forum.makecode.com/t/how-to-make-trivia-choices/11386 "2021-12-17T16:18:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gumtowgames](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gumtowgames/32/6379_2.png) [@gumtowgames](https://forum.makecode.com/u/gumtowgames)\
**Post date:** [December 17, 2021, 4:18pm UTC](https://forum.makecode.com/t/how-to-make-trivia-choices/11386/1 "2021-12-17T16:18:23Z")

</div>

I am attempting to make a game where if the player overlaps another sprite, the sprite prompts the player with a trivia question with two choices.

I want to program it so that they press A or B for the choices, and if they choose the correct button/answer, a point is given.

Anyone know how I can make this happen? Thanks!

---

<div class="post-metadata">

**Author:** ![LaserFoxPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/laserfoxpro/32/4105_2.png) [@LaserFoxPro](https://forum.makecode.com/u/LaserFoxPro)\
**Post date:** [March 3, 2022, 6:46pm UTC](https://forum.makecode.com/t/how-to-make-trivia-choices/11386/2 "2022-03-03T18:46:15Z")

</div>

use an if block and use ask player
