Kraken Logo

Kraken Engine

DocumentationGuidesShowcaseCommunity
Ctrl
K
Navigating the Docs
Building Docs
Overview
Anchor
AnimationController
Audio
Batcher
Body
Camera
Capsule
CastHit
CharacterBody
Circle
Collision
Color
DistanceJoint
Effect
Event
FilterJoint
Flip (Texture)
Font
ImageLayer
InputAction
Joint
Layer
Line
Map
MapObject
Mask
MotorJoint
MouseJoint
ObjectGroup
Orchestrator
PixelArray
PolarCoordinate
Polygon
PrismaticJoint
Rect
RevoluteJoint
RigidBody
Sample
Sampler
Shader
SheetStrip
StaticBody
Stream
Style
Terrain (TileSet)
Text
TextProperties
Texture
Tile (TileLayer)
Tile (TileSet)
TileLayer
TileResult (TileLayer)
TileSet
Timer
Transform
Tween
Vec2
Vertex
WeldJoint
WheelJoint
World

Built bydurkisneer1.Kraken Engine is open source and available onGitHub.

  1. Docs
  2. Classes
  3. Map Object

MapObject

MapObject represents a placed object on an object layer. Access via the 'tilemap' submodule.

Properties


NameDescriptionType
transformTransform component for the object.Transform
is_visibleVisibility flag.bool
uidUnique object identifier.int
nameObject name.str
typeObject type string.str
rectObject bounding rectangle.Rect
tile_idAssociated tile id when the object is a tile.int
shape_typeShape type enum for the object.MapObject.ShapeType
verticesList of vertices for polygon/polyline shapes.list[Vec2]
textText properties if the object is text.TextProperties
PreviousMap
NextMask

On this page

Properties