Can I spawn the sphere created from that such that it can be moved around like other items that can
how would I dynamically spawn that? 🤔
4 Replies
Same way we spawn other grabwidget subclasses
It's usually best to start by finding an API command that almost does what you want. That's a good way to find the route in.
We have API commands that spawn new images, models, guides etc. Have you looked at those?
Where would I find that?Find what?
@banane9 The Http API is about the only part of the codebase that does have docs for every method. Start with the list of commands: https://docs.openbrush.app/user-guide/open-brush-api#what-commands-are-available
You can Ctrl+F for any of them and find the method (it will be somewhere in ApiMethods) - they are mostly 2 or 3 lines long.
ah, not yet