# Back button not working in processing program

**URL:** https://discourse.processing.org/t/back-button-not-working-in-processing-program/25823
**Category:** Processing.py
**Created:** [November 30, 2020, 5:46am UTC](https://discourse.processing.org/t/back-button-not-working-in-processing-program/25823 "2020-11-30T05:46:19Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![tabreturn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tabreturn/32/3697_2.png) [@tabreturn](https://discourse.processing.org/u/tabreturn)
#### Post date: [November 30, 2020, 10:10am UTC](https://discourse.processing.org/t/back-button-not-working-in-processing-program/25823/6 "2020-11-30T10:10:10Z")

</div>

⚠ your last reply is a double post

> [@Move the box with keyboard and mouse](https://discourse.processing.org/t/move-the-box-with-keyboard-and-mouse/25824):
>
> I want to move the box using W,A,S,D keys and rotate the box in mouse direction (even while moving). Below is the code I’ve written but it isn’t working properly (haven’t yet implemented the mouse functionality). x = 100 y = 100 def setup(): size(1500,850) def draw(): rect(x,y,100,100) def keyPressed(): global x, y if key == 'w': y-=7 elif key == 'd': x+=7 elif key == 'a': x-=7 else: y+=7

---

_[View the full topic](https://discourse.processing.org/t/back-button-not-working-in-processing-program/25823)._
