# Slow Frame rate on key press?

**URL:** https://forum.kirupa.com/t/slow-frame-rate-on-key-press/117636
**Category:** Uncategorized
**Created:** [July 29, 2004, 1:28am UTC](https://forum.kirupa.com/t/slow-frame-rate-on-key-press/117636 "2004-07-29T01:28:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![XIVdevil](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/xivdevil/32/658_2.png) [@XIVdevil](https://forum.kirupa.com/u/XIVdevil)
#### Post date: [July 29, 2004, 1:28am UTC](https://forum.kirupa.com/t/slow-frame-rate-on-key-press/117636/1 "2004-07-29T01:28:07Z")

</div>

Im trying to add a slow motion feel to a game (like bullet time), when the player presses a key, however, I cannot find any answer whatsoever.

so if anyone knows the answer, please tell me. thanks.

---

<div class="post-metadata">

### Author: ![McGiver](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@McGiver](https://forum.kirupa.com/u/McGiver)
#### Post date: [July 29, 2004, 1:35am UTC](https://forum.kirupa.com/t/slow-frame-rate-on-key-press/117636/2 "2004-07-29T01:35:45Z")

</div>

there is no way to change the framerate

but you could use some setInterval instead of onEnterFrame

---

<div class="post-metadata">

### Author: ![XIVdevil](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/xivdevil/32/658_2.png) [@XIVdevil](https://forum.kirupa.com/u/XIVdevil)
#### Post date: [July 29, 2004, 1:40am UTC](https://forum.kirupa.com/t/slow-frame-rate-on-key-press/117636/3 "2004-07-29T01:40:11Z")

</div>

Okay, thanks, but I have seen it, maybe it works differently to what I thought.

---

<div class="post-metadata">

### Author: ![bobdoe](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@bobdoe](https://forum.kirupa.com/u/bobdoe)
#### Post date: [July 29, 2004, 3:14pm UTC](https://forum.kirupa.com/t/slow-frame-rate-on-key-press/117636/4 "2004-07-29T15:14:11Z")

</div>

ok I always wanted to try this out, so I just put some scrappy code together. Make sure you press the slow button before the button leaves the stage though hehe.
