[SOLVED] Boolean button function

Hello,
there is a simple function to manage a button ON-OFF like this:
image

It should be fantastic to have a function like slider (or an update it).
image

Thanks,
J

I guess the Toggle Switch should do the trick.
image
I haven’t used it tho.

WOW, thanks [20 characters post]