Wiki

Clone wiki

Love2D Light and Shadow Engine / setAlpha

Object

Body

Abstract

object.setAlpha(alpha)

Arguments

  • float alpha

Return

  • nothing

Description

Set the transparency of the shadow. The range is from 0.0 (invisible) to 1.0 (no transparancy/color).

Updated