# Pascal

**URL:** https://forum.castle-engine.io/c/pascal/12.md

[Latest](https://forum.castle-engine.io/latest.md) · [Categories](https://forum.castle-engine.io/categories.md)

---

## [About the Pascal category](https://forum.castle-engine.io/t/about-the-pascal-category/609)

<div class="topic-metadata">

**Author:** [@michalis](https://forum.castle-engine.io/u/michalis)\
**Replies:** 0

</div>

Pascal language and libraries. Every topic is welcome, not necessarily connected to the Castle Game Engine API. See also Modern Object Pascal Introduction.

---

## [Best Way for 14-year old to learn Object Pascal?](https://forum.castle-engine.io/t/best-way-for-14-year-old-to-learn-object-pascal/823)

<div class="topic-metadata">

**Author:** [@chikega](https://forum.castle-engine.io/u/chikega)\
**Replies:** 16\
**Last updated:** [March 20, 2025, 6:21pm UTC](https://forum.castle-engine.io/t/best-way-for-14-year-old-to-learn-object-pascal/823 "2025-03-20T18:21:46Z")

</div>

My 14-year old son thinks the Castle Engine looks really cool when he sees me trying to play with it. He’s been learning the-ever-popular Python programming language for the last few years and has coded a few simple 2D g…

---

## [How to create array as class](https://forum.castle-engine.io/t/how-to-create-array-as-class/1433)

<div class="topic-metadata">

**Author:** [@Noscow](https://forum.castle-engine.io/u/Noscow)\
**Replies:** 4\
**Last updated:** [November 23, 2024, 8:42am UTC](https://forum.castle-engine.io/t/how-to-create-array-as-class/1433 "2024-11-23T08:42:35Z")

</div>

Good day! I use TSptiteBlocksArray and function NewSpritesArray in the next code for ease of working with sprite arrays. TViewEnvironmentUnit = class(TCastleView) type TSpriteBlocksArray = array of TSpriteB…

---

## [Variables, fields, arguments and properties naming](https://forum.castle-engine.io/t/variables-fields-arguments-and-properties-naming/1391)

<div class="topic-metadata">

**Author:** [@Noscow](https://forum.castle-engine.io/u/Noscow)\
**Replies:** 1\
**Last updated:** [October 22, 2024, 2:43pm UTC](https://forum.castle-engine.io/t/variables-fields-arguments-and-properties-naming/1391 "2024-10-22T14:43:04Z")

</div>

Good day! :upside\_down\_face: I want to do refactoring of the some classes in my code. And in the one hand I like idea to use for the all class fields prefix “F” and for all procedures arguments prefix “A”. It seems use…

---

## [Problem with TransformUnderMouse](https://forum.castle-engine.io/t/problem-with-transformundermouse/663)

<div class="topic-metadata">

**Author:** [@Hertsog](https://forum.castle-engine.io/u/Hertsog)\
**Replies:** 9\
**Last updated:** [October 17, 2022, 11:04am UTC](https://forum.castle-engine.io/t/problem-with-transformundermouse/663 "2022-10-17T11:04:45Z")

</div>

I am trying to use Viewport.TransformUnderMouse (in 2D environment). When it finds TCastleScene object (just containing image) it returns the object and works fine. But when the found object is of any other class for e…
