scene.get_item method

get_item(self, id: str) -> BaseItem:

Finds an item by its id or name.

Parameters

  • id: str

    name or id to search for.

Returns

found item. Returns null if none is found.