---
title: roTimerEvent
slug: develop/rotimerevent
docTags: 
createdAt: 2025-03-11T07:07:17.200Z
---

This event object is generated by the *roTimer* object.

## ifUserData

### SetUserData(user\_data As Object)

Sets the user data.

### GetUserData() As Object

Returns the user data that has previously been set via `SetUserData()` (either on the source or event object). It will return `Invalid` if no data has been set.

## ifSourceIdentity

### GetSourceIdentity() As Integer

Retrieves the identity value that can be used to associate events with the source *roTimer* instance.

:::hint{type="info"}
The *ifSourceIdentity* interface has been deprecated. We recommend using the *ifUserData* interface instead.
:::

