# Custom Collider Perimeter

**URL:** <https://forum.code.org/t/custom-collider-perimeter/33788>\
**Category:** Coding and Debugging Help\
**Created:** [November 24, 2020, 7:06pm UTC](https://forum.code.org/t/custom-collider-perimeter/33788 "2020-11-24T19:06:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgallatin](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@jgallatin](https://forum.code.org/u/jgallatin)\
**Post date:** [November 24, 2020, 7:06pm UTC](https://forum.code.org/t/custom-collider-perimeter/33788/1 "2020-11-24T19:06:10Z")

</div>

I have students creating games using the game lab after going through the CS Discoveries Game Design unit. One of my students was asking about creating custom collider shapes. Aside from merging the pre-existing shapes in a function and running that as a new collider, I haven’t been able to find a way to create custom irregular collider shapes. Any suggestions??

---

<div class="post-metadata">

**Author:** ![mkmietowicz](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mkmietowicz/32/6322_2.png) [@mkmietowicz](https://forum.code.org/u/mkmietowicz)\
**Post date:** [November 25, 2020, 3:13pm UTC](https://forum.code.org/t/custom-collider-perimeter/33788/2 "2020-11-25T15:13:51Z")

</div>

Hi @jgallatin,

Welcome to the forum! I believe the only options for collider shapes in Game Lab are circles and rectangles, per the [documentation for sprite.setCollider()](https://studio.code.org/docs/gamelab/setCollider/). As you alluded to, you probably _could_ set the collider to a small circle, and then create a series of rectangles and circles to approximate the desired shape, but I don’t know how feasible that is.

I’d encourage you to submit a feature request at [https://support.code.org](https://support.code.org) so the engineers can put this on their radar, if it isn’t already.

If anyone else has any workarounds, I’d invite you to please share those here.

–Michael K.
