# How do I get a radial gradient centred in a circle?

**URL:** <https://community.aseprite.org/t/how-do-i-get-a-radial-gradient-centred-in-a-circle/3815>\
**Category:** Uncategorized\
**Created:** [September 1, 2019, 6:48pm UTC](https://community.aseprite.org/t/how-do-i-get-a-radial-gradient-centred-in-a-circle/3815 "2019-09-01T18:48:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Banks](https://community.aseprite.org/user_avatar/community.aseprite.org/david_banks/32/2547_2.png) [@David\_Banks](https://community.aseprite.org/u/David_Banks)\
**Post date:** [September 1, 2019, 6:48pm UTC](https://community.aseprite.org/t/how-do-i-get-a-radial-gradient-centred-in-a-circle/3815/1 "2019-09-01T18:48:30Z")

</div>

This should be easy, I just don’t know the magic combination of clicking and button pushing?

I have a circle:

 ![image](https://community.aseprite.org/uploads/default/original/2X/a/a84bbb2f06a856c86757f535c6164e7196b63d68.png)

I want a radial gradient, filling the circle and concentric with it.

If I mask out the circle, then the mouse clicks only register in the circle, so I end up with a gradient that’s smaller than the circle, and not centered:

 ![image](https://community.aseprite.org/uploads/default/original/2X/a/aa6e1a42c3ea7faed3e7cdf2c7d6608c78c076d0.png)

If I remove the mask, then I get the whole sprite filled with the gradient:

 ![image](https://community.aseprite.org/uploads/default/original/2X/3/35c36bf31321a2ded206bac1931cb5087f78afa0.png)

---

<div class="post-metadata">

**Author:** ![dacap](https://community.aseprite.org/user_avatar/community.aseprite.org/dacap/32/10_2.png) [@dacap](https://community.aseprite.org/u/dacap)\
**Post date:** [September 3, 2019, 11:34am UTC](https://community.aseprite.org/t/how-do-i-get-a-radial-gradient-centred-in-a-circle/3815/2 "2019-09-03T11:34:10Z")

</div>

Hi there @David_Banks! Did you try using the Space bar to move the center? (while you have the mouse pressed, you can use the space bar to displace the center). I imagine that you are using the Ctrl key modifier to draw a circle (instead of a ellipse) too, could you try to make the gradient circle a little bigger to fill the whole selected area?

---

<div class="post-metadata">

**Author:** ![David\_Banks](https://community.aseprite.org/user_avatar/community.aseprite.org/david_banks/32/2547_2.png) [@David\_Banks](https://community.aseprite.org/u/David_Banks)\
**Post date:** [September 3, 2019, 11:35am UTC](https://community.aseprite.org/t/how-do-i-get-a-radial-gradient-centred-in-a-circle/3815/3 "2019-09-03T11:35:28Z")

</div>

I’ll give it a go and report back. Cheers @dacap

---

<div class="post-metadata">

**Author:** ![David\_Banks](https://community.aseprite.org/user_avatar/community.aseprite.org/david_banks/32/2547_2.png) [@David\_Banks](https://community.aseprite.org/u/David_Banks)\
**Post date:** [September 3, 2019, 6:43pm UTC](https://community.aseprite.org/t/how-do-i-get-a-radial-gradient-centred-in-a-circle/3815/4 "2019-09-03T18:43:43Z")

</div>

Had a go at what you suggested @dacap. The moving with the mouse, control and space pressed all worked together. The limit of the total radiant size is still limited to the size masked off though and there an invisible barrier that just cancels the gradient completely.

![RadialGrad](https://community.aseprite.org/uploads/default/original/2X/5/5a2451cd029f4d6ac6c3b1ff4b006e8629a01d03.gif)
