Is this a bad programming practice?

if (this.lbar.alpha>0) {
lbar.alpha=lbar.alpha-1;
} else {
}

Is there a better way to do this?

I noticed the loop stops whilst changing the x and y coords… must be to stop “overloaling”. So, I figure there must be a better way!