I want to make a image facing an oppisite way, how though?
this is in ProssesingJS
Use scale to invert the image's direction. Note that this inverts the x axis so you'll need to make the x position negative to see it on the canvas. pushMatrix and popMatrix make it so that the scale only applies to the image and not all of the following commands.
```
pushMatrix();
scale(-1, 1);
image(getImage("avatars/leaf-green"), -120, 0);
popMatrix();
```
For the future, next to the questions and tips and thanks under your program you will see "Help Requests". You can post coding questions there.
კომენტარის დასატოვებლად გთხოვთ გაიაროთ ავტორიზაცია.