Skip to content

Layer.widthmid

Terry Cavanagh edited this page Feb 28, 2018 · 1 revision
Layer.widthmid(layername:String):Float;

Get half the width of a layer (as with Gfx.screenwidthmid). If you don't specify this when you create the layer, it's the same as the half the screenwidth.

  • layername: The name of the layer to check.
Clone this wiki locally