#get scoreboard value in bar
1 messages · Page 1 of 1 (latest)
{
"binding_name": "#player_score_sidebar",
"binding_type": "collection",
"binding_collection_name": "scoreboard_scores"
},
{
"binding_type": "view",
"source_property_name": "((#player_score_sidebar * 1) = 5)",
"target_property_name": "#visible"
}
you can use #player_score_sidebar binding
@thorn forge
i dont have example rn but there is one on the wiki https://wiki.bedrock.dev/json-ui/string-to-number.html#string-to-number
but where do I put the scoreboard that I want to get the value in bars?
sidebar
?
you can use the sidebar val to change the prog bar
I didn't understand
Isn't it just giving an example?
I'll give example but I'm on mobile
OK
Does this gets only the scoreboard objective who is currently displayed on sidebar?
Yes, the scoreboard that is displayed on the sidebar.