Statusbars

so im making a game with statusbars and my problem I need it to only look for a statusbar of a certain kind but there is no function to look for only that kind and if try to look for only a statusbar of a certain kind it wants a sprite that its attached to but its not attached to one.so could someone make a function or something that I could use that schearches for just a statusbar of that kind???

2 Likes

@jwunderl

3 Likes

? whats that goonna do ???

1 Like

He’s summoning an ancient god.

3 Likes

You could change the spritekind of the statusbar when you make it
image
(btw jwunderl made the extension)

1 Like

i dont get it… are you looking for something that searches for the kind of the status bars owner? cuz theres this block…
image
you can use it like this
image

1 Like

^ yeah, this is the intended use case, if it’s not working for what you have then feel free to post an example with your code / what you want it to do and I can see what you need in more detail~

2 Likes

ok so i so is the “element” " status bar sprite" a variable or no? and here is my project https://arcade.makecode.com/S31560-38552-77177-01783

yes it is
image
have fun with that info

1 Like