# Keypress

**URL:** <https://forum.kirupa.com/t/keypress/286024>\
**Category:** Uncategorized\
**Created:** [April 8, 2009, 9:29pm UTC](https://forum.kirupa.com/t/keypress/286024 "2009-04-08T21:29:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hoefie](https://avatars.discourse-cdn.com/v4/letter/h/8797f3/32.png) [@hoefie](https://forum.kirupa.com/u/hoefie)\
**Post date:** [April 8, 2009, 9:29pm UTC](https://forum.kirupa.com/t/keypress/286024/1 "2009-04-08T21:29:19Z")

</div>

Hi guys

I’m trying to play a movie by pressing a keyboard key. “B” for example. It stops playing automatically. But when I press the key again it should start playing from where it stopped. Can you guys help me to create the appropriate code?
