Loop button in the Canvas

Hey @nate, welcome to the forum!

The built in Loop Toggle element that comes with Canvas should work for exactly this, so you shouldn’t need any custom logic.

A couple quick things to check in your Canvas element:

  1. OSC Command On Press
    Make sure it is set to:
/loop/toggle
  1. Visual state (Background Color with Dynamic enabled)
    A typical setup would be:
${osc("/setlist/loopEnabled") ? "blue-800" : "blue-950"}

If both of those look correct, please try updating to the latest build and see if the behavior persists.

Let me know if it still happens on that version.
I’m looking forward to your reply!