playhaven_position_notification_badge

Change the position of a PlayHaven notification.

Syntax:

GML Code Example

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:

GML Code 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.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here