-
Notifications
You must be signed in to change notification settings - Fork 94
get_mid_pos
Ryzom Core Wiki edited this page Mar 13, 2023
·
3 revisions
title: Get Mid Pos description: published: true date: 2023-03-12T23:59:42.017Z tags: editor: markdown dateCreated: 2023-03-12T23:59:39.163Z
The getMidPos native AI script function returns the position (x, y) of the current group.
(x: f, y: f)getMidPos() // getMidPos__ff
- x (float): The x position of the group.
- y (float): The y position of the group.
(x, y)getMidPos();
This example code returns the current position (x, y) of the group.