> For the complete documentation index, see [llms.txt](https://pin-studios.gitbook.io/firebase-login-pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pin-studios.gitbook.io/firebase-login-pro/tutorial/validation/generate-captcha.md).

# Generate Captcha

<figure><img src="https://1330293663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FACetefaIIBFAK55fRItk%2Fuploads%2F5nqRlhiVtWfW4S3qCyUM%2Fimage.png?alt=media&amp;token=fdf51776-5459-422e-9c5c-bcf04b4844cd" 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://content.gitbook.com/content/ACetefaIIBFAK55fRItk/blobs/DBwfN2vW9vXXmZwHLInl/image.png" alt=""><figcaption></figcaption></figure>

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

## Example ( same with login system pro )

### Default

<figure><img src="https://content.gitbook.com/content/ACetefaIIBFAK55fRItk/blobs/hGlWqv7KWibVDiraKnrD/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/ACetefaIIBFAK55fRItk/blobs/5nheVfmMkCn8D4RVBcpi/image.png" alt=""><figcaption></figcaption></figure>

### Custom font & not random color

<figure><img src="https://content.gitbook.com/content/ACetefaIIBFAK55fRItk/blobs/VzqtI7nuRWPhdCI50kzl/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/ACetefaIIBFAK55fRItk/blobs/s1RpPfAE7u2ggsJO8sA5/image.png" alt=""><figcaption></figcaption></figure>
