# Get 3Devent maxDistance

**URL:** <https://qa.fmod.com/t/get-3devent-maxdistance/15804>\
**Category:** Unity\
**Created:** [May 24, 2020, 4:20pm UTC](https://qa.fmod.com/t/get-3devent-maxdistance/15804 "2020-05-24T16:20:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skujie](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@skujie](https://qa.fmod.com/u/skujie)\
**Post date:** [May 24, 2020, 4:20pm UTC](https://qa.fmod.com/t/get-3devent-maxdistance/15804/1 "2020-05-24T16:20:29Z")

</div>

Hey, i’m trying to access the hearing area from FMOD in Unity  
In the Studio Event Emitter script, it somehow gets the maxDistance of the event, and i can’t find how.

I’d like to get that from an event played with the .play().

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 29, 2020, 6:34am UTC](https://qa.fmod.com/t/get-3devent-maxdistance/15804/2 "2020-05-29T06:34:22Z")

</div>

You can use [`Studio::EventInstance::getProperty`](https://www.fmod.com/resources/documentation-api?version=2.1&page=studio-api-eventinstance.html#studio_eventinstance_getproperty) to get the [`FMOD_STUDIO_EVENT_PROPERTY`](https://www.fmod.com/resources/documentation-api?version=2.1&page=studio-api-eventinstance.html#fmod_studio_event_property) for the Min and Max distances.
