how do u use vm.runtime.startHats #99
-
Scratch.vm.runtime.startHats('dumoUI_event' + html, {
ID: 'test'
}, Scratch.vm.runtime.getSpriteTargetByName(util.thread.target.getName())); it is not running the hats with the id argument set to test |
Beta Was this translation helpful? Give feedback.
Answered by
JeremyGamer13
Jun 1, 2024
Replies: 2 comments 13 replies
-
that option only works with fields |
Beta Was this translation helpful? Give feedback.
10 replies
-
if the menu accepts reporters it wont work |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you basically just need to always run start hats and have the hat itself decide if it should run
this might help: https://docs.turbowarp.org/development/extensions/hats#predicate-based-hat-blocks