# Play / Pause button transition

**URL:** <https://forum.realdash.net/t/play-pause-button-transition/4531>\
**Category:** Generic Design Discussion\
**Created:** [January 20, 2024, 8:46pm UTC](https://forum.realdash.net/t/play-pause-button-transition/4531 "2024-01-20T20:46:22Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [January 24, 2024, 10:47am UTC](https://forum.realdash.net/t/play-pause-button-transition/4531/6 "2024-01-24T10:47:04Z")

</div>

You arrange multiple images into single image. This becomes something known as “image/texture atlas”:

![realdash-music-player-buttons](https://forum.realdash.net/uploads/default/original/1X/22a5311de269a08bb881fa82b74277608de06974.png)

In above example there is 3x2 images arranged to a single image.

Now you can make an Gauge and use a subframe from that image:

- Create a Gauge
- Go to Look’n Feel-\>Images-\>Background Image and import/select an atlas image.
- In Look’n Feel-\>Images-\>Subframes set the number of X (horizontal) and Y (vertical) subframes. In case of the example image, that is 3 and 2.
- In same settings, change the ‘Subframe’ value to switch to different parts of the atlas. 1 being the first frame and 6 the last (with our example image)

This technique is especially powerful when lot of small indicator images are used on the dashboard. It significantly reduces load times and makes rendering the Gauges much faster.

---

_[View the full topic](https://forum.realdash.net/t/play-pause-button-transition/4531)._
