---
title: computeScore()
framework: Assignables
role: symbol
role_heading: Instance Method
platforms: [iOS 17.4+, iPadOS 17.4+, Mac Catalyst 17.4+]
path: assignables/assignedworkdocument/computescore()
---

# computeScore()

Gathers all of the points based on all the AssignedWorkDocument.ScoreAnnotations in the document and its kind property.

## Declaration

```swift
func computeScore() -> Double
```

## See Also

### Computing the score

- [AssignedWorkDocument.ScoreAnnotation](assignables/assignedworkdocument/scoreannotation.md)
