# Tilting an ellipse in Unit 3

**URL:** <https://forum.code.org/t/tilting-an-ellipse-in-unit-3/36882>\
**Category:** Coding and Debugging Help\
**Tags:** csd-unit-3\
**Created:** [September 12, 2022, 3:44pm UTC](https://forum.code.org/t/tilting-an-ellipse-in-unit-3/36882 "2022-09-12T15:44:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michelle.anding](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/michelle.anding/32/3042_2.png) [@michelle.anding](https://forum.code.org/u/michelle.anding)\
**Post date:** [September 12, 2022, 3:44pm UTC](https://forum.code.org/t/tilting-an-ellipse-in-unit-3/36882/1 "2022-09-12T15:44:52Z")

</div>

I am trying to find a way to code an ellipse (Unit 3 Lesson 4 Section 8e) that would be tilted.

---

<div class="post-metadata">

**Author:** ![mwood](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mwood/32/4941_2.png) [@mwood](https://forum.code.org/u/mwood)\
**Post date:** [September 12, 2022, 4:14pm UTC](https://forum.code.org/t/tilting-an-ellipse-in-unit-3/36882/2 "2022-09-12T16:14:07Z")

</div>

@michelle.anding,

This seems like it would be simple to do, and it can be done, but not with the basic coding blocks provided for beginning students. Here’s a link to another post in the forum that shows how this can be achieved.

> [@Ellipse - Rotate on an Axis](https://forum.code.org/t/ellipse-rotate-on-an-axis/35650):
>
> ([Code.org](https://studio.code.org/s/csd3-2021/lessons/5/levels/6/sublevel/3)) Is there a way to code an ellipse to appear at an angle, say 45 degrees (i.e. ‘leaning / tipping to one side’)? CS Discoveries Unit 3 (Interactive Animations and Games) Lesson 5 (Variables) Level 6 (Debug: Unused Variables) I can only get the ellipse to rotate from 0 degrees to 90 degrees (i.e. the ellipse is either just on the x axis or just on the y axis) Example code: ellipse(270, 115, 170, 80) Example of what I would like to do:

Quick summary is that making an ellipse sprite and then using the rotate block is probably the simplest way to do it, but if you are ok going into text mode and using some other commands that are not in the gamelab toolbox, you can rotate the ellipse without turning it into a sprite.

Good luck!

Mike
