screenshot.get_last
Overview
- Returns the status of the most recent screenshot.capture issued in this process: where it is being written, whether the engine has finished writing it, and how long it has taken. Poll this after screenshot.capture until saved == true, then read the file at 'path'. pending == true means the engine has not rendered the capture frame yet — that is normal for the first poll, and can persist for seconds during a map load or while the window is minimised. Cheap to call: the response is a fixed handful of fields, so polling costs almost nothing.
Metadata
| Field | Value |
|---|---|
| Display | Get Last Screenshot Status |
| Category | screenshot |
| Access | Public |
| Scope | B1Standalone |
| Tags | Experimental |
| Aliases | — |
Parameters
- This command takes no parameters.
Usage
await inzoi.cli.execute('screenshot.get_last');