# How can I teleport the character to the cursor location?

**URL:** <https://forums.unrealengine.com/t/how-can-i-teleport-the-character-to-the-cursor-location/391677>\
**Category:** Character & Animation\
**Tags:** cursor, unreal-engine, question\
**Created:** [April 23, 2017, 7:36am UTC](https://forums.unrealengine.com/t/how-can-i-teleport-the-character-to-the-cursor-location/391677 "2017-04-23T07:36:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![k23jm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@k23jm](https://forums.unrealengine.com/u/k23jm)\
**Post date:** [April 23, 2017, 7:36am UTC](https://forums.unrealengine.com/t/how-can-i-teleport-the-character-to-the-cursor-location/391677/1 "2017-04-23T07:36:00Z")

</div>

I’m trying to create a event where the character teleport to the cursor location when I press the key “W”, but i can’t correctly get the cursor location, i tried this way, but doesn’t work properly.

 ![135190-teleport.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/3/5f37580bdf9e21d27aa4b1d9ca4355d22f204156.png)

How can I make that work?

---

<div class="post-metadata">

**Author:** ![Kolocam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kolocam](https://forums.unrealengine.com/u/Kolocam)\
**Post date:** [November 27, 2023, 6:23am UTC](https://forums.unrealengine.com/t/how-can-i-teleport-the-character-to-the-cursor-location/391677/2 "2023-11-27T06:23:54Z")

</div>

This topic was opened 6 years ago without an answer. I assume you found a solution? I’m trying to create the same function, but without results and I can’t find anything similar for help from the forums, except from this post 😃
