# Object size property in scripting

**URL:** <https://forum.inductiveautomation.com/t/object-size-property-in-scripting/11310>\
**Category:** Ignition\
**Created:** [March 3, 2016, 6:16pm UTC](https://forum.inductiveautomation.com/t/object-size-property-in-scripting/11310 "2016-03-03T18:16:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kblankenship](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@kblankenship](https://forum.inductiveautomation.com/u/kblankenship)\
**Post date:** [March 3, 2016, 6:16pm UTC](https://forum.inductiveautomation.com/t/object-size-property-in-scripting/11310/1 "2016-03-03T18:16:40Z")

</div>

Is there a way to capture an object’s size as a property for scripting? I am building a Template canvas and do not want it to exceed the size of the canvas and add scroll bars, so I was going to script template size to be calculated based on the number of templates but do not know how to get the size of the canvas.
