Why switch button not working?

When i turn on swtich image is visible
When i turn off image is further visible
look in link

Instead of using elseif, just use else

Use this blocks

image

it still does not work

For me it works . If you wish check this test aia

Test_switch.aia (34.4 KB)

1 Like

thank you i see the problem...

1 Like

I believe you were using Switch1.Enabled block instead of Switch1.On and that's why your code was not working

yes, i changed and its working
again thank you

1 Like

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