# Script for blinking slow

**URL:** <https://forum.inductiveautomation.com/t/script-for-blinking-slow/15139>\
**Category:** Ignition\
**Created:** [August 22, 2017, 6:34pm UTC](https://forum.inductiveautomation.com/t/script-for-blinking-slow/15139 "2017-08-22T18:34:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnzaba](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@mnzaba](https://forum.inductiveautomation.com/u/mnzaba)\
**Post date:** [August 22, 2017, 6:34pm UTC](https://forum.inductiveautomation.com/t/script-for-blinking-slow/15139/1 "2017-08-22T18:34:51Z")

</div>

![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/dd6d1ff5da6f1951fd094040d075b832e368f2d0.jpg)

I’d like to blink slowly my letter “F” using a script…I don’t want to use blink box…I’m looking for a script to blink box

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [August 23, 2017, 2:04pm UTC](https://forum.inductiveautomation.com/t/script-for-blinking-slow/15139/2 "2017-08-23T14:04:52Z")

</div>

Hello,

I suggest writing a script on the actionPerformed event on the Timer component. Check out the documentation for the Timer component:  
[https://www.inductiveuniversity.com/video/timer-scripts](https://www.inductiveuniversity.com/video/timer-scripts)  
[https://docs.inductiveautomation.com/display/DOC79/Timer](https://docs.inductiveautomation.com/display/DOC79/Timer)

You can assign colors in a script by importing and making colors like this:

```auto
import java.awt from Color
black = Color(0,0,0)

```

To make it blink perhaps check if the value property of the Timer component is odd and use one color and if it is even then use a different color.
