Skip to main content

Draw image

This will draw the image at the given coordinates. Accepts URLs and local file paths.

tip

Width and height are not required, if you leave them both empty it will render the original size. If you only provide one, it will scale the other to maintain the original aspect ratio.

note

Relative paths will be resolved from Pandemic's Script Creator's "files" folder.

Parameters

  • Path (text)
  • X (number)
  • Y (number)
  • Width (number)
  • Height (number)