# How can I use the switch component to dynamically display different data

**URL:** https://community.thunkable.com/t/how-can-i-use-the-switch-component-to-dynamically-display-different-data/1803597
**Category:** Questions about Thunkable X
**Created:** [March 26, 2022, 4:26pm UTC](https://community.thunkable.com/t/how-can-i-use-the-switch-component-to-dynamically-display-different-data/1803597 "2022-03-26T16:26:29Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 30, 2022, 1:42pm UTC](https://community.thunkable.com/t/how-can-i-use-the-switch-component-to-dynamically-display-different-data/1803597/11 "2022-03-30T13:42:06Z")

</div>

The problem is that you’re explaining it in a very general way, that no sound plays when you test the project.

What I’m suggesting is that you need to find ways to show on screen that a particular set of blocks has run. To make sure your If conditions are working properly.

I suggest a way to do that here:

> [@Debugging in Thunkable X (Video)](https://community.thunkable.com/t/debugging-in-thunkable-x-video/849471):
>
> I thought I’d share a process I use for debugging my projects. It involves creating a function that can be used over and over throughout the code blocks in order to help determine where things are going wrong, whether or not certain blocks are ever triggering, and what the values of several variables are. Here’s a screenshot of what I’ve set up: The real power comes from being able to quickly change the delay (and even set it to 0 seconds) or just remo…

---

_[View the full topic](https://community.thunkable.com/t/how-can-i-use-the-switch-component-to-dynamically-display-different-data/1803597)._
