Skip to content

Layer.width

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

Get the width of a layer. If you don't specify this when you create the layer, it's the same as the screenwidth.

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