playhaven_position_notification_badge(x, y, w, h)
Argument | Description |
---|---|
x | The new x position in the room. |
y | The new y position in the room. |
w | The width of the badge. |
h | The height of the badge |
Returns: N/A
After having added a PlayHaven notification badge (using the
function playhaven_update_notification_badge
)
you can then change its position within the room using this
function.
playhaven_position_notification_badge(x- 16, y - 16, 32, 32);
The above code will move the PlayHaven notification badge to a new location relative to the instance.