Yeah so here's my code
if(defaultmeter.visible = true)
{
meter1.visible = true;
meter1.x = 124.10;
meter.y = 63.10;
jizz.visible = false;
}
Thing is the things inside the { } work but the the if statement doesnt apply Like when defaultmeter is not visible, the stuff inside the {} still applies :C help please
If you do
mc.visible = trueso you assign thetruevalue tomc.visibleso you make mc visible which normally alwaystrue.To compare in this level, we use
==(equal) operator to check if two values are equal or the!=(not equal, different ) to check if two values are not equal.So in your case you can do :
Or
Or simply