# (Practice 2) Writing Text on an Empty Screen

### Example Code

#### (Example) **Displaying "Hello World!!" on the Screen**

<figure><img src="https://1881188396-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FauX5vWu2xzL5b4Cvif21%2Fuploads%2Fkv9S07bysNhHb1r5Najh%2Fimage.png?alt=media&#x26;token=3ff279ea-4ecb-4597-b87d-15ec3d2ce54c" alt=""><figcaption></figcaption></figure>

***

### :bell: Block Description

#### **1. \[Write Image of ( ) XY : (X : (10) Y : (10)) as (Enter text Input : \[ ] ) (size : \[1])] Block**

* **A Block to Write Text at a Desired Position on an Image**
* The starting position for text writing is specified by (X-coordinate, Y-coordinate).
* Text size can be selected from 1, 2, or 3.

<figure><img src="https://1881188396-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FauX5vWu2xzL5b4Cvif21%2Fuploads%2FkQykhAOcF5rLrihOshDa%2Fimage.png?alt=media&#x26;token=ce86d0db-6fc3-40eb-8b46-ac39411e34b1" alt=""><figcaption><p>[Write Image of ( ) XY : (X : (10) Y : (10)) as (Enter text Input : [ ] ) (size : [1])] Block</p></figcaption></figure>

#### 2. \[Create empty img] Block

* **A Block that Creates a Black Empty Screen**

<figure><img src="https://1881188396-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FauX5vWu2xzL5b4Cvif21%2Fuploads%2FwVSciCVLeQZd7oQCbgaS%2Fimage.png?alt=media&#x26;token=e6f18d42-d3b6-4a85-be1e-f748a01277fc" alt="" width="239"><figcaption><p>[Create empty img] Block</p></figcaption></figure>

***

### :warning: **Caution** :warning:

* When writing in a language other than English, the font may break. Only English text should be used.
* When adjusting the text size using numbers, if the text size is too large, it may extend beyond the display and become invisible.
