Special variable behaviours with custom JS. #227
-
How do I make it so whenever a specific variable changes, it updates something (for example, the mouse cursor) with custom JS? |
Beta Was this translation helpful? Give feedback.
Answered by
GarboMuffin
Dec 16, 2021
Replies: 1 comment 1 reply
-
For cloud variables var provider = {
enable: () => {},
handleUpdateVariable: (name, value) => {
// do whatever
console.log(name, value)
}
}
scaffolding.addCloudProvider(provider);
scaffolding.addCloudProviderOverride('☁ redirect', provider); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Samq64
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For cloud variables