# How to bind "Stroke Style" to a boolean property?

**URL:** <https://forum.inductiveautomation.com/t/how-to-bind-stroke-style-to-a-boolean-property/12535>\
**Category:** Ignition\
**Created:** [January 9, 2017, 9:58pm UTC](https://forum.inductiveautomation.com/t/how-to-bind-stroke-style-to-a-boolean-property/12535 "2017-01-09T21:58:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ijustdunnoaname](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@ijustdunnoaname](https://forum.inductiveautomation.com/u/ijustdunnoaname)\
**Post date:** [January 9, 2017, 9:58pm UTC](https://forum.inductiveautomation.com/t/how-to-bind-stroke-style-to-a-boolean-property/12535/1 "2017-01-09T21:58:27Z")

</div>

I’m in the beginning stages of a project and am currently building motor templates. Each template has the following custom properties:  
running\_color (color)  
stopped\_color (color)  
alarm\_color (color)  
running\_indication (Boolean)  
alarm\_indication (Boolean)

I would like to know how I could use the Boolean “alarm\_indication” to cause the motor’s “Stroke style” to increase to a width of 5.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [January 10, 2017, 12:54pm UTC](https://forum.inductiveautomation.com/t/how-to-bind-stroke-style-to-a-boolean-property/12535/2 "2017-01-10T12:54:29Z")

</div>

Hi!

Take a look at [this topic](https://inductiveautomation.com/forum/viewtopic.php?f=70&t=14114).
