# Play only when parameter is going on direction?

**URL:** https://qa.fmod.com/t/play-only-when-parameter-is-going-on-direction/18126
**Category:** FMOD Studio
**Created:** [December 21, 2021, 10:25am UTC](https://qa.fmod.com/t/play-only-when-parameter-is-going-on-direction/18126 "2021-12-21T10:25:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)
#### Post date: [December 21, 2021, 2:44pm UTC](https://qa.fmod.com/t/play-only-when-parameter-is-going-on-direction/18126/2 "2021-12-21T14:44:01Z")

</div>

Hi, you could use my “ghost parameter” trick: [Locomotive Engine Sounds -- A bit of an enigma - #3 by Alcibiade](https://qa.fmod.com/t/locomotive-engine-sounds-a-bit-of-an-enigma/16911/3)  
However, that would be cleaner to implement that logic inside the game code.

---

_[View the full topic](https://qa.fmod.com/t/play-only-when-parameter-is-going-on-direction/18126)._
