# How do I read PressedPosition in the Pressed event?

**URL:** <https://forums.fusetools.com/t/how-do-i-read-pressedposition-in-the-pressed-event/5311>\
**Category:** How-to Discussions\
**Created:** [January 30, 2017, 12:07pm UTC](https://forums.fusetools.com/t/how-do-i-read-pressedposition-in-the-pressed-event/5311 "2017-01-30T12:07:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DungeonKim](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/dungeonkim/32/474_2.png) [@DungeonKim](https://forums.fusetools.com/u/DungeonKim)\
**Post date:** [January 30, 2017, 12:07pm UTC](https://forums.fusetools.com/t/how-do-i-read-pressedposition-in-the-pressed-event/5311/1 "2017-01-30T12:07:11Z")

</div>

Hi!

I am going to send a PressedPosition to JavaScript on the Pressed event.

```
<WhilePressed ux:Name="press">
    <DataBinding Target="press.PressedPosition" Key="pressedPosition"/>
    <Callback Handler="{onPressed}"/>
</WhilePressed>

```

and

```
onPressed = function(e) 
{
    debug_log(JSON.stringify(e.data.pressedPosition.value));
}

```

It returns null.

On Clicked event, x, y could be read, but not on Pressed event.

How can I get PressedPosition in JavaScript?

Thank you.
