# How do I use the timer component?

**URL:** https://community.thunkable.com/t/how-do-i-use-the-timer-component/632315
**Category:** Questions about Thunkable X
**Created:** [June 23, 2020, 10:06am UTC](https://community.thunkable.com/t/how-do-i-use-the-timer-component/632315 "2020-06-23T10:06:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![eddie.rebehy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eddie.rebehy/32/67993_2.png) [@eddie.rebehy](https://community.thunkable.com/u/eddie.rebehy)
#### Post date: [June 23, 2020, 10:06am UTC](https://community.thunkable.com/t/how-do-i-use-the-timer-component/632315/1 "2020-06-23T10:06:13Z")

</div>

Hi Thunkers,

I have been trying to create some screen dynamics by controlling the speed at which I open and close my accordion sections on a page I constructed. The problem I am having is with the timer component.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/0/008d0b70e181a72adfff265bb50da709967552f8.png)

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/d/add970ef7352cadb8b18b2bbb92f6468f7ac879e.png)

I know there are many different ways to accomplish what I am attempting but basically I am wanting to reduce the height of my container by increments of 1% over 1 sec or so.

The steps are taking much longer than the selected interval and the overall execution is taking several seconds instead of the desired and expected 1 sec. I can’t seem to speed it up while keeping it smooth.

A similar loop at 1% reduction without the timer is lightning quick so I suspect the delay is in calling the timer.

I am hoping someone has had some experience with using the timer at sub 10mS calls in a loop.

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [June 29, 2020, 2:17pm UTC](https://community.thunkable.com/t/how-do-i-use-the-timer-component/632315/2 "2020-06-29T14:17:31Z")

</div>

Hi @eddie.rebehy did you get this working in the end?

The **Cartographr** sample app has a custom splash screen that fades in using similar maths and timers.

> [@Cartographr: How to work with the Map Component](http://community.thunkable.com/t/cartographr-how-to-work-with-the-map-component/230549):
>
> Click to Add Markers One request we hear from Thunkers is the ability to tap on the map component and then add a marker to the location that was just tapped. In this first example we’ll learn how to do just that. Map1.onPress This is the event we need to understand to make everything work. The onPress event has two outputs, coordinate and position - but other than the names of these outputs we don’t know much more about them. Since coordinate seems like the most promising, let’s take a closer l…

Let me know whether of not that helps with this.

---

<div class="post-metadata">

### Author: ![eddie.rebehy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eddie.rebehy/32/67993_2.png) [@eddie.rebehy](https://community.thunkable.com/u/eddie.rebehy)
#### Post date: [June 30, 2020, 12:56am UTC](https://community.thunkable.com/t/how-do-i-use-the-timer-component/632315/3 "2020-06-30T00:56:07Z")

</div>

Thanks @domhnallohanlon

I couldn’t get it to work but I must admit I also didn’t place too much emphasis on this part of my project and moved on fairly quickly.

I tried the app you mentioned but it didn’t have any splash screen and consisted of one map page only.

This is the link I tried: [https://x.thunkable.com/copy/bc34f663b5d2272a2727e97e3c3b1dbc](https://x.thunkable.com/copy/bc34f663b5d2272a2727e97e3c3b1dbc)

In any case, I am looking forward to sharing my app with one of the more competent Thunkable freelancers for overall improvements when I have a functional sample. I am not yet at that stage but I am extremely happy with the progress to date. Thunkable is an awesome platform despite the shortcomings and restrictions.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:25am UTC](https://community.thunkable.com/t/how-do-i-use-the-timer-component/632315/4 "2024-11-08T11:25:18Z")

</div>


