Change the location? As for the transparency/visibility field, I believe that's tied to the button itself & not the sprite.
example:
-- get visibility
Interfaces["int_example"].Buttons["btn_example"].Visibility
-- set visibility
Interfaces["int_example"].Buttons["btn_example"].Visibility = 50
-- set visibility with tweening (fade between current value to another value over time)
Interfaces["int_example"].Buttons["btn_example"]:to(1000, {Visibility = 50})
Well I'm acessing the Button, via
Button.ActiveSprite.Sprite
and I want to change the Sprite Object by overwriting it as you showing in the second example with the Visibility.
But I cant't overwrite it because I can't find the right form in which I have to express
the Arguments for the Sprite since its a bit more complicater then the Visibility that is simply an integer.
I printed the Expression above and got this
path Rätsel/Rätsel_0000_Ebene-4.png, width 0, height 0, pos (193,50)
but dont know what to do with it.
I would have to do something like
Interfaces["int_example"].Buttons["btn_example"].ActiveSprite.Sprite = NewLocation
Also in the Visionaire docs there is no Visibility attribute for the Button objects
so why can I change it and how can I know what I can change, for me the
documentation of all of this is a bit wacky to be honest.