---
title: completionBlock
framework: scenekit
role: symbol
role_heading: Type Property
path: scenekit/scntransaction/completionblock
---

# completionBlock

Returns the block previously associated with the current transaction.

## Declaration

```swift
class var completionBlock: (() -> Void)? { get set }
```

## Discussion

Discussion See setCompletionBlock(_:), setCompletionBlock: in Objective-C, for a description of the role of the completion block object.
