If condition

Ok I’m pretty new to AS

I know how to do this in other codes, but…

if (condition1=true) AND (condition2=true) then…

How do you do this in AS?