What does the last item in the color parameter mean

I was having a problem using a touching color block so I exported it and looked at the xml and saw that I wasn't quite looking for pure red (rgb 255,0,0) and could see that I was a little bit off (255,17,0) so that explains my issue

<block s="reportColorIsTouchingColor"><color>255,17,0,1</color><color>255,255,255,1</color></block>

But I'm wondering what the last digit 1 is used to represent as it doesn't seem to be the alpha value of 255 that I was expecting to find

It is an alpha value, but on the range 0 to 1.

Thanks for info :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.