diff --git a/Sources/armory/trait/physics/bullet/PhysicsWorld.hx b/Sources/armory/trait/physics/bullet/PhysicsWorld.hx index f8709ab443..2fd36702e7 100644 --- a/Sources/armory/trait/physics/bullet/PhysicsWorld.hx +++ b/Sources/armory/trait/physics/bullet/PhysicsWorld.hx @@ -207,7 +207,7 @@ class PhysicsWorld extends Trait { /** Used to get intersecting rigid bodies with the passed in RigidBody as reference. Often used when checking for object collisions. @param body The passed in RigidBody to be checked for intersecting rigid bodies. - @return Array or null. + @return `Array` **/ public function getContacts(body: RigidBody): Array { if (contacts.length == 0) return null; diff --git a/Sources/armory/ui/Canvas.hx b/Sources/armory/ui/Canvas.hx index a676e5f935..5a7cbaaf39 100644 --- a/Sources/armory/ui/Canvas.hx +++ b/Sources/armory/ui/Canvas.hx @@ -277,7 +277,7 @@ class Canvas { Returns the positional scaled offset of the given element based on its anchor setting. @param canvas The canvas object @param element The element - @return Array [xOffset, yOffset] + @return `Array [xOffset, yOffset]` **/ public static function getAnchorOffset(canvas: TCanvas, element: TElement): Array { var boxWidth, boxHeight: Float;