playhaven_position_notification_badge

Change the position of a PlayHaven notification.

Syntax:

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


Description

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.


Example:

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.


Back: Advertising and Analytics
Next: playhaven_update_notification_badge
© Copyright YoYo Games Ltd. 2018 All Rights Reserved