rendered paste body if( local.x > main.room.width - ( bounds.width + 30 ) && !( local.y > main.room.height - ( bounds.height + 60 ) ) )
{
bitmap.rotation = -90;
}
else if( local.x < bounds.width + 30 && !( local.y < bounds.height + 60 ) )
{
bitmap.rotation = 90;
}
if( local.y > main.room.height - ( bounds.height + 30 ) && !( local.x > main.room.width - ( bounds.width + 60 ) ) )
{
bitmap.rotation = 0;
}
else if( local.y < bounds.height + 30 && !( local.x < bounds.width + 60 ) )
{
bitmap.rotation = 180;
}