if(created){ canbecarried; x=40; y=23.5; } if (!x=40 && !y=23.5){ set Carried; } if(wasthrown){ x=40; y=23.5; unset Carried;