Skip to content

Question: is running a secondary command when clicking a button with an interval possible? #481

Description

@SirFireball3521

I'd like to set up a block which updates its text every second, but also does something else when clicked. Is this possible? I don't see anything in the documentation, or in the issues (although I might've missed it there). Something like this:

[testblock]
command=./repeatingscript
interval=1
onclick_command=./onclickscript

where repeatingscript would run every second, and onclickscript would run when clicked.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions