# Problem with the lack of a simple Delay() or Sleep() method

**URL:** <https://forum.xojo.com/t/problem-with-the-lack-of-a-simple-delay-or-sleep-method/77543>\
**Category:** General\
**Created:** [October 5, 2023, 11:18am UTC](https://forum.xojo.com/t/problem-with-the-lack-of-a-simple-delay-or-sleep-method/77543 "2023-10-05T11:18:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![TimStreater](https://forum.xojo.com/user_avatar/forum.xojo.com/timstreater/32/586_2.png) [@TimStreater](https://forum.xojo.com/u/TimStreater)\
**Post date:** [October 5, 2023, 11:59am UTC](https://forum.xojo.com/t/problem-with-the-lack-of-a-simple-delay-or-sleep-method/77543/4 "2023-10-05T11:59:34Z")

</div>

Try:

```auto
thread.SleepCurrent (1000)

```

It will sleep you 1 sec. Of course, it will block your UI for that time too, unless you’re doing it in a thread.

---

_[View the full topic](https://forum.xojo.com/t/problem-with-the-lack-of-a-simple-delay-or-sleep-method/77543)._
