# Confining symbols to shapes other than squares

**URL:** https://forum.kirupa.com/t/confining-symbols-to-shapes-other-than-squares/57499
**Category:** Uncategorized
**Created:** [July 13, 2004, 7:35pm UTC](https://forum.kirupa.com/t/confining-symbols-to-shapes-other-than-squares/57499 "2004-07-13T19:35:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kingbreich](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kingbreich](https://forum.kirupa.com/u/kingbreich)
#### Post date: [July 13, 2004, 7:35pm UTC](https://forum.kirupa.com/t/confining-symbols-to-shapes-other-than-squares/57499/1 "2004-07-13T19:35:04Z")

</div>

Hi. Is there a way to confine the symbols to shapes other than squares. When I use hitTest with an object that is oddly shaped, the object is squared in so if it is being touched in the corner it counts as the object. Thanks.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 14, 2004, 8:51pm UTC](https://forum.kirupa.com/t/confining-symbols-to-shapes-other-than-squares/57499/2 "2004-07-14T20:51:11Z")

</div>

its called a shape’s bounding box. maybe you can use the object’s x and y coordinates at your hit test catchers

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 14, 2004, 9:34pm UTC](https://forum.kirupa.com/t/confining-symbols-to-shapes-other-than-squares/57499/3 "2004-07-14T21:34:53Z")

</div>

Thanks that worked well enough.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 15, 2004, 5:34am UTC](https://forum.kirupa.com/t/confining-symbols-to-shapes-other-than-squares/57499/4 "2004-07-15T05:34:55Z")

</div>

woot.
