var layer = new dali.Layer();
```
-### Hello world example </h3>
+### Hello world example
```
var myActor = new dali.TextActor("hello-world");
1) ParentOrigin. This Vector3 property defines a point within the parent actor's area.
-<img src="../assets/img/shared/parent-origin.png">
+![ ](../assets/img/parent-origin.png)
+
The default is "top-left", which can be visualized in 2D as (0, 0), but is actually Vector3(0, 0, 0.5) in the 3D DALi world. The actor's position is relative to this point.
```
2) AnchorPoint. This Vector3 property defines a point within the child actor's area.
-<img src="../assets/img/shared/anchor-point.png">
+![ ](../assets/img/anchor-point.png)
The default is "center", which can be visualized in 2D as (0.5, 0.5), but is actually Vector3(0.5, 0.5, 0.5) in the 3D DALi world. The actor's position is also relative to this point.
```
3) Position. This is the position vector between the parent-origin and anchor-point.
-<img src="../assets/img/shared/actor-position.png">
+![ ](../assets/img/actor-position.png)
Therefore by default, an actors position is the distance between its center and the top-left corner of its parent.