Skip to main content
Screenshot helpers use screenshot-basic to capture an image, then upload it through the SDK server resource. Start screenshot-basic before fivemesh-sdk.

Capture from the server

Use takeServerImage when a server script wants to request a screenshot from a specific player.
The last argument is the timeout in milliseconds.

Capture from the client

Use client takeImage when client code should trigger its own screenshot.
The client export sends the request back to the SDK server resource. The service key stays server-side.

Options