Welcome to the new and improved Native Instruments online community. Join our active forum of 40,000+ members for discussions and much more.

Set_skin_offset for Label/Buttons

Reylon
Reylon Member Posts: 23 Sine
edited May 2022 in Scripting Workshop

Hi,

How could it be done?

I have a label with one large png. When a button is clicked the label should move its view.

if($Home_Controls_Panel_Home_Expansion = 1)
  set_skin_offset(1000 * $Skin_Display)

EDIT:

I think this is much better solution.

set_control_par(get_ui_id($Skin_Display), $CONTROL_PAR_PICTURE_STATE, 3+ $Home_Controls_Panel_Home_Expansion)

You can just rise the number and it will change the image and align it without the correct px number...

Back To Top