Hide a PlayHaven notification.


GML Code Example

playhaven_hide_notification_badge(x, y, w, h, ident)

Returns: N/A


With this function you can hide any PlayHaven notification badges that you have previously created with the function playhaven_add_notification_badge.


GML Code Example

if global.game_state != st_mainmenu
    playhaven_add_notification_badge(x- 16, y - 16, 32, 32, "games_widget");

The above code will check the value of a global variable and either add or hide a PlayHaven notification badge.

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