---
title: makeEvent()
framework: metal
role: symbol
role_heading: Instance Method
path: metal/mtldevice/makeevent()
---

# makeEvent()

Creates a new event instance that you can use to synchronize commands and resources within the same GPU device.

## Declaration

```swift
func makeEvent() -> (any MTLEvent)?
```

## See Also

### Creating fences and events

- [makeFence()](metal/mtldevice/makefence().md)
- [makeSharedEvent()](metal/mtldevice/makesharedevent().md)
- [makeSharedEvent(handle:)](metal/mtldevice/makesharedevent(handle:).md)
