# Blocks
A Block is mostly defined by its width and height.
## From Texture 2D to Odyssey Block Reference
This node is automatically created when you connect a Texture 2D asset to an input "Block". It converts your Texture 2D
into an "Odyssey Block Reference" to be used in your Odyssey Brush.

## Create Block

Create a Block whose the return value is an "Odyssey Block Reference" (to be connected to a Block input). Basically, it makes
an empty Block to be filled later with a color.
"**Width** | **Height**" : require a size in pixels as an Integer to create the block.
"**Color Model** | **Channel Depth**" : choose the color model and channel depth from the list, or connect the respective input.
--------
# Rectangles
A rectangle is specifc area inside a Block. Rectangles have a size (width / height) and a starting point (X / Y).
These 4 values are in pixel (integers).
In the following examples, we will use this stamp as a block, which is 128*128.

If I draw with this brush, with a very basic Blueprint, this is what we get:


## Crop Block

This node will allow you to crop the Block to make it smaller.
The "Area" input needs an Odyssey Rectangle Structure.
The output returns an "Odyssey Block Reference".
## Make Odyssey Rectangle

Use this node to make a Rectangle with X-Y coordinates and a specific size.
By default, X Y is equal to 0 and correspond to the top left corner of the Block.
"Make Odysey Rectangle" must be then connected to the node "Crop Block".
### First Case : Width and Height = 20px | Y and X = 0



### Second Case : Width and Height = 50px | Y and X = 60px



## Get Block Rectangle

This node will turn a Block into a rectangle.
## Break Odyssey Rectangle

This node will break a Rectangle to get its size and coordinates.