How do you write the following as one if statement?
if (redCircle.hitTestObject(redRect))
{
trace(“RED HIT”);
}
if (blueCircle.hitTestObject(blueRect))
{
trace(“BLUE HIT”);
}
How do you write the following as one if statement?
if (redCircle.hitTestObject(redRect))
{
trace(“RED HIT”);
}
if (blueCircle.hitTestObject(blueRect))
{
trace(“BLUE HIT”);
}
:: Copyright KIRUPA 2024 //--