• Create an image using the key associated with a loaded image. If key is not associated with any loaded image, throws error.

    0, 0 is located at the top, left hand side.

    Parameters

    • x: number

      x position of the image. 0 is at the left side

    • y: number

      y position of the image. 0 is at the top side

    • asset_key: string

      key to loaded image

    Returns GameObject | undefined

    image game object