Wiki

Clone wiki

Love2D Light and Shadow Engine / getType

Object

Circle, Image, Light, Polygon, Rectangle, World

Abstract

type = object.getType()

Arguments

  • none

Return

  • string type

Description

Get the type of the object. The result can be "world", "circle", "rectangle", "polygon" or "image".

Updated