SmoothToggle.toggleSnap

bool toggleSnap()

Toggles the state and instantly sets progress to match. Returns the new state.