-
Notifications
You must be signed in to change notification settings - Fork 94
get_mid_pos
Ryzom Core Wiki edited this page Jul 8, 2024
·
3 revisions
title: Get Mid Pos description: published: true date: 2023-03-16T23:07:20.909Z tags: editor: markdown dateCreated: 2023-03-16T22:24:01.750Z
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.