Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Thank you! I have 2 questions: 1) If I want the object to move into a direction if the hot-key is pressed? How do I do that? 2) If I want a single object to have more than 1 hot-key? for example if I press W it moves forward, S moves it backwards, A to the left and D to the right? Commented Jul 31, 2015 at 1:01
  • It worked! How ever, if I want to move the object without writing the position (up, down, right and left) in the function, how can I do that? Commented Jul 31, 2015 at 20:03
  • I don't know how you can do that, you may need to figure out :). If the answer helpful then upvote and choose as answer please :) Commented Jul 31, 2015 at 20:17