# Looks

## Sprite Visibility&#x20;

### Set Visibility

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MABrcmu4stP59YjB20Q%2F-MABvGABhClCZykbQDsW%2Flook_set_visibility.png?alt=media\&token=996b845d-564b-4389-8c18-326bbc8f8648)

Show the selected sprite or hide the selected sprite on the canvas.

### Get Visibility

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MABrcmu4stP59YjB20Q%2F-MABvjmK1tUNZbyftix7%2Flook_get_visibility.png?alt=media\&token=7f909589-ba9d-4abb-a305-f7f0821f44a2)

Returns true if the sprite is visible, and false if it is hidden

## Sprite Image

### Next or Previous Image

<div align="left"><figure><img src="https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LAn5scXl2uqUJUOqkJo-84897653%2Fuploads%2FUANyHIrrOBf7IV9ao78s%2FCanvas%20%3E%20Looks%20%3E%20next%20image%20dropdown.png?alt=media&#x26;token=a2dc8bad-85e0-4a49-bc56-f7c56d641f47" alt=""><figcaption></figcaption></figure></div>

Set the sprite's image to the next or previous image in the sprite type's [picture list](https://docs.thunkable.com/gaming/sprites#sprite-type-properties).

### Set Image Number

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MABrcmu4stP59YjB20Q%2F-MABvzSCciciNsXLA7ke%2Flook_set_image.png?alt=media\&token=d37e7f0f-729b-473b-a93a-b6e2862b59f4)

Set the sprite's image to an image in the sprite type's [picture list](https://docs.thunkable.com/gaming/sprites#sprite-type-properties).

## Sprite Dimensions&#x20;

### Set Height or Width to

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MABrcmu4stP59YjB20Q%2F-MABw4z1tGFzyEiABAqt%2Flook_set_dims.png?alt=media\&token=8c05a8d3-2384-4f52-8c0a-459a9f360dfa)

Set the Sprite's height or width.

### Change Height, Width or Opacity by

<div align="left"><figure><img src="https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LAn5scXl2uqUJUOqkJo-84897653%2Fuploads%2F6i1FAMRAOdJKVZSWq2r7%2FCanvas%20%3E%20Looks%20%3E%20Change%20height%3Awidth%3Aopacity%20dropdown.png?alt=media&#x26;token=700a370a-dd14-44c6-9394-0326781c18ea" alt="" width="540"><figcaption></figcaption></figure></div>

Change the sprite's height, width, or opacity.

### Get Height or Width

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MABrcmu4stP59YjB20Q%2F-MABwR-owFu0R3qQAxgc%2Flook_get_dims.png?alt=media\&token=4da4ce09-0ca1-45bd-9b0f-d99adf985aeb)

Get the sprite's height or width.

## Flip Sprite

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MB4_pYhmhIkvwNdklAd%2F-MB4a76h3L72uopduk2r%2Fflipsprite.png?alt=media\&token=14ad46ed-f159-47ba-b01a-7df4ae17abad)

Flip Sprite along a specified axis.

## Freeze Frame&#x20;

### Stamp

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MABrcmu4stP59YjB20Q%2F-MABwUMIrUObjES9jjOp%2Flook_stamp.png?alt=media\&token=edab91da-ae19-4b17-b441-ae7bcdc8aec9)

Add freeze frame of sprite in current position.

## Drawing&#x20;

### Draw Line

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MABrcmu4stP59YjB20Q%2F-MABwWekWvikwTiN7bEU%2Flook_draw_line.png?alt=media\&token=3ea07788-4d6d-44fc-86b6-d4f91169b0a5)

Draw line between two points with specified width and color.

### Draw Circle

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MCRCvfL_x8IOzqkiU0h%2F-MCRFd3_KiU8EbWgWiTC%2Fcanvasdrawcircle.png?alt=media\&token=cacaa475-57f5-4c4d-b92c-47acc198922e)

Draw circle outline at specified point with a given radius.

### Draw Filled Circle

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MCRCvfL_x8IOzqkiU0h%2F-MCRFkCSySX6ApMWE7zG%2Fcanvasdrawfilledcircle.png?alt=media\&token=ffe52259-1557-4b22-9faf-38049e0a8884)

Draw filled circle at specified point with a given radius.

### Draw Polygon

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MCRCvfL_x8IOzqkiU0h%2F-MCRFsGRVZ-Ogjc20AP4%2Fcanvasdrawpolygon.png?alt=media\&token=ac1c826e-8a90-4ef0-97c1-7efd5356619f)

Draw a polygon outline at a specified point. The number of sides, length of sides, and angle of rotation (measured in degrees) can be specified.

### Draw Filled Polygon

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MCRCvfL_x8IOzqkiU0h%2F-MCRGQe3_ZI4jGYpMsXB%2Fcanvasdrawfilledpolygon.png?alt=media\&token=8de413a2-44f6-42d7-ab97-547bed6099ba)

Draw a filled polygon at a specified point. The number of sides, length of sides, and angle of rotation (measured in degrees) can be specified.

### Clear Drawings

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MABrcmu4stP59YjB20Q%2F-MABwatd6qyvQy2MFtwa%2Flook_clear_drawings.png?alt=media\&token=8b3df68b-2e70-4e6d-9bbc-36f17ced9833)

Clear all the drawings on the specified canvas.

## Make Image

![](https://1223006790-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MABrcmu4stP59YjB20Q%2F-MABwsbCeEUmLYW-XEDZ%2Flook_image_of.png?alt=media\&token=b352faf2-3010-4799-8403-4d3ca3857246)

Get an image of the specified canvas. Returns a base 64 encoded image.&#x20;
