# Generate Captcha

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2Faiwv9EdFOPzny0DnoOlu%2Fimage.png?alt=media&#x26;token=b39128eb-fd91-4c2d-939c-bacb213ec6f5" alt=""><figcaption></figcaption></figure>

## Input Type

* Validation Type
  * Any - Random with AlphaNumericWithSymbolsAndUpper
  * Alpha - Alphabetic
  * Number - Numeric
  * AlphaNumeric - Alphabetic + Numeric
  * AlphaNumericWithSymbols - Alphabetic + Numeric + Symbol
  * AlphaNumericWithSymbolsAndUpper - Alphabetic + Numeric + Symbol + Uppercase
* Use Custom Font - if input Font Settings
* Font Settings - same with game font settings info
* Use Random Color - if false will use black color , if true will use random with linear color
* Length - captcha generate letters length
* Width - texture 2d width , recommend use blurly&#x20;
* Height - texture 2d height , also recommend use blurly , like the captcha

## Output Type

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2FQDslUlzTLbw32O5oCW7I%2Fimage.png?alt=media&#x26;token=a00c20b0-80c4-4cf4-913a-96ac95d56d27" alt=""><figcaption></figcaption></figure>

* Captcha Text - is let you to make equals string
* Captcha Texture - Set brush with texture to image or border

## Example

### Default

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2FxG732LaDbAWbw6e2mIL6%2Fimage.png?alt=media&#x26;token=0412a17a-1b48-463b-aba0-be7820adca42" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2FUFquj00PrK8RwPXBtpMP%2Fimage.png?alt=media&#x26;token=1fbd8ea7-5fb1-433b-a375-bafca59b6456" alt=""><figcaption></figcaption></figure>

### Custom font & not random color

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2FOs2bz6CiTgiPwq0HeuDT%2Fimage.png?alt=media&#x26;token=52441d69-f859-4b65-9088-5239923825a7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2F98Lg0ujyXWAFmm75rdE8%2Fimage.png?alt=media&#x26;token=b09b5f6c-93ed-4ce4-a3bb-289111cd003f" alt=""><figcaption></figcaption></figure>
