Skip to content

get_bounding_box

entity.get_bounding_box(entindex)

Returns the 2D bounding box and alpha multiplier. The bounding box is returned as an array of 4 points (top-left, top-right, bottom-right, bottom-left) in screen coordinates.