- Home /
Question by
andrewjferreira93 · Dec 18, 2021 at 11:57 PM ·
collisionui
Creating an AOE with a UI Filled Image
I want to make an Area of Effect(AOE) that has collision or triggers with other game objects, but it also needs to be a radial progress bar that has the same collision to how much it is filled. I've already tried using a UI Filled Image, but adding a Circle Collider did not work out. Is there a way to get the Filled Image effect on a Game Object or some alternate way to achieve this?
Example:
The Green circle is the AOE that has an effect on the other objects (White and Red circle).
This first image is game start. The AOE has an effect on both objects
This second image is after the AOE has been clicked, decreases the amount it is filled. The red object is no longer in collision with the AOE, while the white object is still under it's effect.
image1.png
(58.4 kB)
image2.png
(49.6 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613050725im_/https://answers.unity.com/themes/thub/images/avi.jpg)